-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- The issue can be reproduced in the Auth0.Android sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Hey folks,
I've gotten an UnsupportedOperationException
thrown exclusively on Intel Gemini Lake Chromebook and Mediatek MT8183 Chromebook.
The stack-trace is as follows:
Fatal Exception: java.lang.UnsupportedOperationException:
at java.security.KeyStoreSpi.engineGetEntry(KeyStoreSpi.java:492)
at java.security.KeyStore.getEntry(KeyStore.java:1560)
at com.auth0.android.authentication.storage.CryptoUtil.getKeyEntryCompat(CryptoUtil.java:221)
at com.auth0.android.authentication.storage.CryptoUtil.getRSAKeyEntry(CryptoUtil.java:108)
at com.auth0.android.authentication.storage.CryptoUtil.RSADecrypt(CryptoUtil.java:272)
at com.auth0.android.authentication.storage.CryptoUtil.getAESKey(CryptoUtil.java:372)
at com.auth0.android.authentication.storage.CryptoUtil.decrypt(CryptoUtil.java:416)
at com.auth0.android.authentication.storage.SecureCredentialsManager.continueGetCredentials$lambda-3(SecureCredentialsManager.kt:467)
- Could you give an insight on what can be done here so the entry retrieval for API 28+ can succeed?
- Do you think, since the issue originates in Chromebooks only (so far), it's related to OS differences of
java.security.KeyStore
?
Reproduction
Unfortunately, there's no Chromebook in sight, so couldn't replicate the issue.
Additional context
No response
Auth0.Android version
2.9.3
Android version(s)
Android 11 (API 30)
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code