react-native-keychain: AES storage throwing "could not encrypt data with alias: "

721 Views Asked by At

I recently change the keychain storage to AES and now some users are experiencing the error could not encrypt data with alias: after Keychain.setGenericPassword(username, password) is run.

I couldn't find from the documentation why I'd get such an error and I'm out of ideas of how to reproduce it.

Any idea of how to reproduce it or avoid it?

1

There are 1 best solutions below

0
On

Here is the report of the crash I am having: https://github.com/oblador/react-native-keychain/issues/567

I'll investigate more once I have a chance.