fenix icon indicating copy to clipboard operation
fenix copied to clipboard

RuntimeException: FenixApplication: KeyNotYetValidException: Key not yet valid

Open pocmo opened this issue 7 years ago • 3 comments

https://sentry.prod.mozaws.net/operations/fenix-nightly/issues/6735021/

KeyNotYetValidException: Key not yet valid
    at android.security.KeyStore.getInvalidKeyException(KeyStore.java:856)
    at android.security.KeyStore.getInvalidKeyException(KeyStore.java:926)
    at android.security.keystore.KeyStoreCryptoOperationUtils.getInvalidKeyExceptionForInit(KeyStoreCryptoOperationUtils.java:54)
    at android.security.keystore.KeyStoreCryptoOperationUtils.getExceptionForCipherInit(KeyStoreCryptoOperationUtils.java:89)
    at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreCipherSpiBase.java:265)
...
(25 additional frame(s) were not displayed)

RuntimeException: Unable to create application org.mozilla.fenix.FenixApplication: android.security.keystore.KeyNotYetValidException: Key not yet valid
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5925)
    at android.app.ActivityThread.access$1100(ActivityThread.java:200)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:193)
...
(4 additional frame(s) were not displayed)

Unable to create application org.mozilla.fenix.FenixApplication: android.security.keystore.KeyNotYetValidException: Key not yet valid

┆Issue is synchronized with this Jira Task

pocmo avatar Nov 26 '19 15:11 pocmo

I saw in the sentry issue that "This issue has been marked as resolved." @pocmo should we close this?

ValentinTimisica avatar Feb 24 '20 10:02 ValentinTimisica

Sentry marked this issue as resolved due to inactivity

Yeah, looks like this crash hasn't happened in multiple months.

pocmo avatar Feb 24 '20 11:02 pocmo

We observe the same issue in Tutanota (https://github.com/tutao/tutanota/issues/1851) so it would be really cool if you shared how you fixed it. Thanks.

charlag avatar Feb 27 '20 16:02 charlag