-
Notifications
You must be signed in to change notification settings - Fork 389
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
Data disappears from encrypted box once it is opened without cypher #1283
Comments
I think some of my users are experiencing an issue related to this. Once the user is logged in, I store the credentials in an encrypted box and every time the app is started from zero, I check if the credentials exist to know if the user is logged in or not. On occasion, some users discover that they have been automatically logged out and I discovered that the cause of this is that the credentials disappeared from the encrypted box. But I'm never opening the box without encryption or doing anything to the encrypted box apart from saving the credentials. And I have reports for 2 separate apps but only on iOS and only in the past month. I'm thinking that maybe the latest iOS system touches somehow the file with the encrypted box and that's why the data disappears. I can't seem to figure this out and I can't reproduce it. |
I did a test project with only Dart (no platforms) and this happened:
I opened an encrypted box and stored some values, then next time I opened the box without encryption and when I check the box.values they are empty.
Is this expected in any way? How can I check if my box is encrypted?
I was expecting that I could check whether the db is encrypted by getting some garbage data.
Even if I open the box with encryption again, it is always empty after first time.
The text was updated successfully, but these errors were encountered: