Skip to content

UnsupportedOperationException thrown on Chromebooks #710

Open
@vrozin

Description

@vrozin

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions