You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed this error in production when saving the authToken:
Fatal Exception: java.security.InvalidKeyException: Keystore operation failed
at android.security.keystore2.KeyStoreCryptoOperationUtils.getInvalidKeyException(KeyStoreCryptoOperationUtils.java:128)
at android.security.keystore2.KeyStoreCryptoOperationUtils.getExceptionForCipherInit(KeyStoreCryptoOperationUtils.java:152)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreCipherSpiBase.java:354)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineInit(AndroidKeyStoreCipherSpiBase.java:185)
at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:3003)
at javax.crypto.Cipher.tryCombinations(Cipher.java:2910)
at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider(Cipher.java:2815)
at javax.crypto.Cipher.chooseProvider(Cipher.java:792)
at javax.crypto.Cipher.init(Cipher.java:1162)
at javax.crypto.Cipher.init(Cipher.java:1103)
at com.iterable.iterableapi.IterableDataEncryptor.encryptModern(IterableDataEncryptor.java:193)
at com.iterable.iterableapi.IterableDataEncryptor.encrypt(IterableDataEncryptor.java:131)
at com.iterable.iterableapi.IterableKeychain.secureSave(IterableKeychain.kt:87)
at com.iterable.iterableapi.IterableKeychain.saveEmail(IterableKeychain.kt:92)
at com.iterable.iterableapi.IterableApi.storeAuthData(IterableApi.java:456)
at com.iterable.iterableapi.IterableApi.setAuthToken(IterableApi.java:535)
at com.iterable.iterableapi.IterableApi.setAuthToken(IterableApi.java:802)
Caused by android.security.KeyStoreException: -22 (internal Keystore code: -22
message: system/security/keystore2/src/security_level.rs:358: Failed to begin operation.
Caused by:
0: system/security/keystore2/src/security_level.rs:868
1: system/security/keystore2/src/utils.rs:200: Calling km_op.
2: Error::Km(r#KEY_EXPORT_OPTIONS_INVALID)
)
The text was updated successfully, but these errors were encountered:
Thanks for reporting this @NoyaD9 !
Appreciate your feedback and will look into this issue as soon as possible. If you have any additional details (e.g., device model, Android version, steps to reproduce), feel free to share, as it will help us debug the issue more efficiently.
We noticed this error in production when saving the authToken:
The text was updated successfully, but these errors were encountered: