Secured-Preference-Store icon indicating copy to clipboard operation
Secured-Preference-Store copied to clipboard

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.

Results 24 Secured-Preference-Store issues
Sort by recently updated
recently updated
newest added

Fix https://github.com/iamMehedi/Secured-Preference-Store/issues/39

there's a concurrency issue while decrypting/encrypting something by keystore keys at the same time like below. So I added some code fragments that you can test it and added synchronization...

Hi! Do we need to store `seedKey ` value in some local properties? Or is it ok to leave it in plain text in a code?

question

Couln't launch app on Android emulator, Android 4.4 Api 19. Other api works correct. `I/dalvikvm: Could not find method devliving.online.securedpreferencestore.EncryptionManager.getHashed, referenced from method devliving.online.securedpreferencestore.SecuredPreferenceStore.getStringSet W/dalvikvm: VFY: unable to resolve static...

Error occurred on the version **0.6.1** due to EcryptionManager getMacKey throws exception. ``` W/System.err: javax.crypto.AEADBadTagException W/System.err: at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:517) at javax.crypto.Cipher.doFinal(Cipher.java:2056) at devliving.online.securedpreferencestore.EncryptionManager.decryptAES(EncryptionManager.java:428) at devliving.online.securedpreferencestore.EncryptionManager.decrypt(EncryptionManager.java:272) at devliving.online.securedpreferencestore.EncryptionManager.tryDecrypt(EncryptionManager.java:217) at devliving.online.securedpreferencestore.EncryptionManager.decrypt(EncryptionManager.java:316) at devliving.online.securedpreferencestore.SecuredPreferenceStore.getString(SecuredPreferenceStore.java:143)...

Cannot connect to keystore android.os.DeadObjectException at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:617) at android.security.IKeystoreService$Stub$Proxy.begin(IKeystoreService.java:1255) This mistake happens occasionally. The wrong place is the 496th line of EncryptionManager.

Hello, I am using the latest version of the library (0.7.2). I noticed that the init function was marked as deprecated so I tried to use the new init function...

When initializing the library I got this situation: it will fail to init due to IllegalArgumentException. I was doing some tests regarding recovery after a keystore deletion due to unlock...

java.lang.RuntimeException: Unable to create application com.bananasrl.banana.Utils.App: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.del(java.lang.String, int)' on a null object reference at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5678) at android.app.ActivityThread.-wrap2(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:156)...