Giter Site home page Giter Site logo

Comments (5)

ArnyminerZ avatar ArnyminerZ commented on May 19, 2024 1

The migration and tests for this have been added to #92 πŸ˜„

from icsx5.

ArnyminerZ avatar ArnyminerZ commented on May 19, 2024

Note the warning on the docs:

The preference file should not be backed up with Auto Backup. When restoring the file it is likely the key used to encrypt it will no longer be present. You should exclude all EncryptedSharedPreferences from backup using backup rules.

This means that we should provide an option to authorize back again after a device factory reset, or backup restore. Should be taken into account with #4.

Also security-crypto shall be added as dependency:

implementation "androidx.security:security-crypto:1.0.0"

from icsx5.

rfc2822 avatar rfc2822 commented on May 19, 2024

When we have the database, I'd just store everything (including credentials) in the private DB. EncryptedSharedPreferences says that it doesn't work across system backup/restore on different devices, but this is a use case that is planned (#4).

Unfortunately we have to store the credentials in clear text for Basic authentication.

from icsx5.

ArnyminerZ avatar ArnyminerZ commented on May 19, 2024

Then we should store the accounts in Room instead of shared preferences for #76. This means creating a new table, and getting rid of CalendarCredentials.

from icsx5.

rfc2822 avatar rfc2822 commented on May 19, 2024

Then we should store the accounts in Room instead of shared preferences for #76. This means creating a new table, and getting rid of CalendarCredentials.

Sounds reasonable :)

from icsx5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.