Skip to content
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

UnsupportedOperationException thrown on Chromebooks #710

Open
6 tasks done
vrozin opened this issue Jan 24, 2024 · 0 comments
Open
6 tasks done

UnsupportedOperationException thrown on Chromebooks #710

vrozin opened this issue Jan 24, 2024 · 0 comments
Labels
bug This points to a verified bug in the code

Comments

@vrozin
Copy link

vrozin commented Jan 24, 2024

Checklist

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)

@vrozin vrozin added the bug This points to a verified bug in the code label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

1 participant