Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLCipherHelper need a check to avoid connection without password #36

Closed
xcesco opened this issue Apr 1, 2020 · 1 comment
Closed

Comments

@xcesco
Copy link
Owner

xcesco commented Apr 1, 2020

When I restart from Android Studio an application that uses SQLCipher database, it try to open it without password and so it deletes the database. Better to avoid database opening without a password. I will try to insert a flat like passwordIsRequired.

@xcesco xcesco added this to the 7.x.x milestone Apr 1, 2020
@xcesco xcesco self-assigned this Apr 1, 2020
@xcesco
Copy link
Owner Author

xcesco commented Apr 1, 2020

SQLCipherHelperFactory now can store, if debugMode is true, passphrase is a shared preferences. This is a security issue, but it solve the restart app problem with cripted database.

xcesco pushed a commit that referenced this issue Apr 1, 2020
@xcesco xcesco closed this as completed Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant