-
Notifications
You must be signed in to change notification settings - Fork 32
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
AEADbadtagexception #38
Comments
Can you please provide more details/code? Thanks. |
Hello, im currently getting the same exception as described above, on android Oreo and Pie, while using plugin version 2.5.0. When setting
When changing to |
Version: 2.5 AndroidKeystore Storagetype works for me except in one use case, I get the same exception as @Just89. It occurs with AutoBackup when doing the following steps:
Interesting: When clicking on "Has Value" for key XXX it says "Y"es Edit: Ok I digged a little deeper and found out that HasValue returns Yes because the Preferences File with the key/value pairs is backed up and restored after reinstall. The problem is that the key in the keystore is deleted during uninstall as far as I know. Thus, after reinstall, a new key is generated in keystore and GetValue can not decrypt the value that was encrypted with the previous key. |
I think the best solution is just to disable backing up data from Google Drive. You can do this in this way: It is described better here: On this website it is mentioned that backing up data should not be used for user sensitive data - data which is stored in Secure Storage. |
Thanks for your response. I ended up with creating custom backup rules, that exclude the SecureStorage.xml, because I wanted to allow to backup some other not sensitive user settings. |
I am experiencing same issue on Android regarding Signature/MAC verification failed. To resolve this issue I followed these steps:
After doing this, i haven't had issues so far... =) |
@OliverMDr do you have the custom backup rules file? |
Hi, I'm getting the above exception when I try to get a previous stored value. I'm using the package within a Xamarin.Forms Android app only. The issue appears to happen whenever the app has been re-opened after being closed. Can you please advise?
The text was updated successfully, but these errors were encountered: