A cryptography library and a SharedPreferences wrapper for Android that encrypts the content with 256 bit AES encryption. The Encryption key is securely stored in device's KeyStore.
I'm using SecuredPreferenceStore to store access tokens etc. Works fine in the emulator, but when I run the app on my device I'm not able to save anything.
The error I'm getting when calling putString is android.security.keystore.KeyNotYetValidException: Key not yet valid
I'm using SecuredPreferenceStore to store access tokens etc. Works fine in the emulator, but when I run the app on my device I'm not able to save anything.
The error I'm getting when calling
putString
isandroid.security.keystore.KeyNotYetValidException: Key not yet valid
Any idea why this is happening?