"Could not decrypt data with alias"

Hi!

Many of our users are experiencing a “Could not decrypt data with alias” error after installing Samsung’s latest security update. Unfortunately, this issue seems to recur approximately every three months with each new security patch. To resolve it, customers currently have to reinstall the app, which isn’t ideal for user experience.

We’re looking for a long-term solution to prevent this from happening. Our app is built with React Native and uses the GitHub - oblador/react-native-keychain: 🔑 Keychain Access for React Native package for secure data storage. We’ve noticed other developers reporting similar issues.

Here’s the latest security patch that appears to be causing the problem:

The stacktrace:

Error
Could not decrypt data with alias: PUSH_TOKEN

    unknown:112 cf.h.F
    CipherStorageKeystoreAesCbc:165 com.oblador.keychain.cipherStorage.CipherStorageKeystoreAesCbc.decrypt
    KeychainModule:679 com.oblador.keychain.KeychainModule.decryptToResult
    KeychainModule:646 com.oblador.keychain.KeychainModule.decryptCredentials
    KeychainModule:310 com.oblador.keychain.KeychainModule.getGenericPassword
    KeychainModule:438 com.oblador.keychain.KeychainModule.getInternetCredentialsForServer

Any suggestions would be much appreciated.

BR, Øyvind.

It appears that this issue affects users with the G981BXXSMHXJ2 security patch. This update was previously accessible here: Notify Update. However, it is no longer available. Has Samsung withdrawn this update?