-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
After updating the SDK to cersion 3.5.5 we see this crash when initialising Iterable:
java.security.InvalidAlgorithmParameterException: Unsupported IV length: 16 bytes. Only 12 bytes long IV supported
at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$GCM.initAlgorithmSpecificParameters(AndroidKeyStoreAuthenticatedAESCipherSpi.java:110)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineInit(AndroidKeyStoreCipherSpiBase.java:252)
at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2999)
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:1307)
at javax.crypto.Cipher.init(Cipher.java:1242)
at com.iterable.iterableapi.IterableDataEncryptor.encryptModern(IterableDataEncryptor.kt:192)
at com.iterable.iterableapi.IterableDataEncryptor.encrypt(IterableDataEncryptor.kt:130)
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:435)
at com.iterable.iterableapi.IterableApi.setEmail(IterableApi.java:741)
at com.iterable.iterableapi.IterableApi.setEmail(IterableApi.java:721)
at our.app.package.IterableSdkAdapter.setEmail(IterableSdkAdapter.kt:130)
at our.app.package.IterableUseCase.setAnonymousUser(IterableUseCase.kt:60)
at our.app.package.IterableUseCase.setUserOnSdk(IterableUseCase.kt:55)
at our.app.package.IterableUseCase.setupUser(IterableUseCase.kt:37)
at our.app.package.IterableUseCase.handleUserChangeAndPendingMessages(IterableUseCase.kt:26)
at our.app.package.IterableUseCase$handleUserChangeAndPendingMessages$1.invokeSuspend(Unknown Source:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@e248182, Dispatchers.Default]
Metadata
Metadata
Assignees
Labels
No labels