-
Notifications
You must be signed in to change notification settings - Fork 400
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
Google Play Unsafe Encryption #512
Comments
Hi there @juliansteenbakker @jhancock4d. Just to build on this issue... our static analysis tools also threw out a warning about this. It seems to not like this particular part of the code where I'm pasting the output of that warning + the recommendation from the tool. Thank you very much AFFECTED CODE
RECOMMENDATION If your business logic doesn't permit you to use JetPack's security library Google recommends the following standards: Secret Keys: Symmetric secret keys must be unpredictable and secret. For encrypting local data, developers should construct secret keys using cryptographically secure randomness (or from user-generated data, if using PBEKeySpecs) and store the secret keys using the AndroidKeystore. Initialization Vectors: Initialization vectors must be unique and unpredictable across multiple messages but do not need to be secret. Developers should construct initialization vectors using cryptographically secure randomness. Developers should store or transmit the initialization vectors along with the associated ciphertext. Salts: Salts must be unique and unpredictable across multiple hashes but do not need to be secret. Developers should construct salts using cryptographically secure randomness. Developers should store or transmit the salts along with the associated hashes. |
That looks like Android code and not web correct? |
Correct. Android code.. |
This will help https://www.youtube.com/watch?v=JogvnnaJ8TI |
Have you resolved this issue. i am also facing the same? |
I suddenly got this warning (and a Implicit PendingIntent Vulnerability warning) last week after uploading a new version to the play store. I uploaded a new version at the beginning of May, with Flutter 3.7.* and there were no warnings. Now last week's version had Flutter 3.10.*, so I thought it was related to the Flutter version. But that does not seem to be the case? In the RevenueCat community someone mentions that those errors disappeared after uploading a new bundle without changes...haven't tried that yet though. |
The fix for this issue will be discussed in #769 |
Hi...
In my google play console showed me the next message:
Unsafe Encryption
Your app contains unsafe cryptographic encryption patterns. Please see this Google Help Center article for details.
g0.c.r.q.B
The package who use encryption in my project is Secure Storage, maybe someone identificate this problem?
Google play Console not say any more.
The text was updated successfully, but these errors were encountered: