Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashed when accessing a string from encrypted shared preference #8

Open
nayan-dhabarde opened this issue Nov 30, 2021 · 0 comments

Comments

@nayan-dhabarde
Copy link

We got a crashlytics report this morning with the below stack trace:

Fatal Exception: java.lang.StackOverflowError: stack size 8192KB at java.lang.reflect.Constructor.newInstance0(Constructor.java) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at java.security.Provider$Service.newInstance(Provider.java:1635) at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2959) at javax.crypto.Cipher.tryCombinations(Cipher.java:2891) at javax.crypto.Cipher.createCipher(Cipher.java:728) at javax.crypto.Cipher.getInstance(Cipher.java:619) at com.scottyab.aescrypt.AESCrypt.encrypt(AESCrypt.java:98) at com.scottyab.aescrypt.AESCrypt.encrypt(AESCrypt.java:74) at com.pddstudio.preferences.encrypted.EncryptedPreferences.encryptString(EncryptedPreferences.java:193) at com.pddstudio.preferences.encrypted.EncryptedPreferences.decryptType(EncryptedPreferences.java:229) at com.pddstudio.preferences.encrypted.EncryptedPreferences.getString(EncryptedPreferences.java:332) at com.awantunai.edc.stored.PreferencesManager.getPhoneNumber(PreferencesManager.java:59)

We don't know what was the value stored for specific key phoneNumber for that user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant