RJA
RJA

Reputation: 457

AEADBadTagException error on user's device causing Mobile app to not open

User I have in closed testing of an app uninstalled our app, and re-installed it via the Google Playstore app link. I pulled their bug report off their phone.

I'm pretty sure this (snippet below) is the source of the problem. Has anyone encountered this? How would I go about troubleshooting this error?

02-26 13:24:51.580  1000  1533  6061 D CompatibilityChangeReporter: Compat change id reported: 161145287; UID 10399; state: ENABLED
02-26 13:24:51.580 10399 16302 16302 W b       : encountered a potentially transient KeyStore error, will wait and retry
02-26 13:24:51.580 10399 16302 16302 W b       : javax.crypto.AEADBadTagException
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:632)
02-26 13:24:51.580 10399 16302 16302 W b       :    at javax.crypto.Cipher.doFinal(Cipher.java:2132)
02-26 13:24:51.580 10399 16302 16302 W b       :    at w7.b.c(Unknown Source:34)
02-26 13:24:51.580 10399 16302 16302 W b       :    at w7.b.b(Unknown Source:5)
02-26 13:24:51.580 10399 16302 16302 W b       :    at v6.d.h(Unknown Source:37)
02-26 13:24:51.580 10399 16302 16302 W b       :    at d5.i.n(Unknown Source:11)
02-26 13:24:51.580 10399 16302 16302 W b       :    at d5.i.h(Unknown Source:16)
02-26 13:24:51.580 10399 16302 16302 W b       :    at j5.a0.<init>(Unknown Source:180)
02-26 13:24:51.580 10399 16302 16302 W b       :    at Y4.g.get(Unknown Source:39)
02-26 13:24:51.580 10399 16302 16302 W b       :    at l8.a.get(Unknown Source:13)
02-26 13:24:51.580 10399 16302 16302 W b       :    at Y4.g.get(Unknown Source:52)
02-26 13:24:51.580 10399 16302 16302 W b       :    at l8.a.get(Unknown Source:13)
02-26 13:24:51.580 10399 16302 16302 W b       :    at com.droplet.budgetapp.DropletApplication.a(Unknown Source:101)
02-26 13:24:51.580 10399 16302 16302 W b       :    at com.droplet.budgetapp.DropletApplication.onCreate(Unknown Source:0)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1316)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7711)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.os.Handler.dispatchMessage(Handler.java:106)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.os.Looper.loopOnce(Looper.java:230)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.os.Looper.loop(Looper.java:319)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.app.ActivityThread.main(ActivityThread.java:8919)
02-26 13:24:51.580 10399 16302 16302 W b       :    at java.lang.reflect.Method.invoke(Native Method)
02-26 13:24:51.580 10399 16302 16302 W b       :    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
02-26 13:24:51.580 10399 16302 16302 W b       :    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
02-26 13:24:51.580 10399 16302 16302 W b       : Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: system/security/keystore2/src/operation.rs:850: KeystoreOperation::finish
02-26 13:24:51.580 10399 16302 16302 W b       : 
02-26 13:24:51.580 10399 16302 16302 W b       : Caused by:
02-26 13:24:51.580 10399 16302 16302 W b       :     0: system/security/keystore2/src/operation.rs:426: Finish failed.
02-26 13:24:51.580 10399 16302 16302 W b       :     1: Error::Km(r#VERIFICATION_FAILED)) (public error code: 10 internal Keystore code: -30)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:435)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$BufferAllOutputUntilDoFinalStreamer.doFinal(AndroidKeyStoreAuthenticatedAESCipherSpi.java:396)
02-26 13:24:51.580 10399 16302 16302 W b       :    at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:624)
02-26 13:24:51.580 10399 16302 16302 W b       :    ... 24 more

Upvotes: 0

Views: 11

Answers (0)

Related Questions