Skip to content

Conversation

AfzalivE
Copy link
Contributor

@AfzalivE AfzalivE commented Dec 18, 2020

Added spaces in the error message otherwise it appears like this in logcat:

java.lang.IllegalStateException: The passphrase appears to be cleared. This happens bydefault the first time you use the factory to open a database, so we can remove thecleartext passphrase from memory. If you close the database yourself, please use afresh SupportFactory to reopen it. If something else (e.g., Room) closed thedatabase, and you cannot control that, use SupportFactory boolean constructor option to opt out of the automatic password clearing step. See the project README for more information.

@developernotes
Copy link
Member

Hi @AfzalivE

Thanks for this, we'll get this merged in and included within the next public release of SQLCipher!

@developernotes developernotes merged commit 01199d1 into sqlcipher:master Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants