-
Notifications
You must be signed in to change notification settings - Fork 146
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
Crash issue in SecureCredentialsManager #717
Comments
Hi @AravinthNagaraj you may be interested in the same issue i had raised #644 and the response |
Thanks for your update @bennycao . I have already referred to your issue and since the issue is happening again in newer version of Android as well , thought of bringing to the Auth0 team attention as they mentioned in your issue that it wasn't reported before. |
@poovamraj I am still experiencing the crash issue in production, and its occurrence is consistently increasing, affecting users through the SecureCredentialsManager. Notably, 90% of the crashes are happening on Android OS 14, specifically on Samsung Galaxy devices. I haven't received a response yet. Could you please take a look and provide some guidance? Any help would be greatly appreciated. Thank you! As per the log, it throws an exception in the rsaDecrypt method(IllegalBlockSizeException) in the CryptoUtil class. @bennycao @ppamorim I believe you also experienced the same issue. |
If I am not wrong I believe we substantially reduce the occurrences of the issue by safe threading the access to that function. |
Agreed on considering safe threading or try-catch for reducing crashes. However, to ensure a definitive solution, we must identify the root cause. Just masking it may help temporarily, but understanding and addressing the issue directly is crucial, especially since recurring crashes impact user experience. |
Yes we experienced and still experiencing this error. The % is around 1-2%. There was no clear reproduction steps, but was able to reproduce on Android 5, but logs indicate more samsung users with Android 11+. Resorted to handling the error and signing user out in code. It would be good if we could understand this more from auth0's side as you said. |
Hi @AravinthNagaraj , Are you still observing this issue in your production environment? |
Facing the same on my flutter project Device: Pixel 6A Error: A change on the Lock Screen security settings have deemed the encryption keys invalid and have been recreated. Please try saving the credentials again. |
same here and I am not sure how to mitigate - should I just retry the fetch of the credentials or does the user have to login again? |
Checklist
Description
In production got some crash events in SecureCredentialsManager class (Auth0)(Major issue) , Effected 10% of users in production.
Fatal Exception: f5.c: A change on the Lock Screen security settings have deemed the encryption keys invalid and have been recreated. Please try saving the credentials again.
at com.auth0.android.authentication.storage.SecureCredentialsManager.saveCredentials(SecureCredentialsManager.kt:196)
at com.poqstudio.app.client.auth0.Auth0Configuration.saveCredentials(Auth0Configuration.kt:38)
Reproduction
Can't able to reproduce the issue
Additional context
No response
Auth0.Android version
2.9.1
Android version(s)
11,13,14
The text was updated successfully, but these errors were encountered: