-
Notifications
You must be signed in to change notification settings - Fork 81
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
javax.crypto.IllegalBlockSizeException on few devices #88
Comments
Do you have a more detailed Stacktrace for the exception? Which version of RxFingerprint are you currently using? |
Unfortunately not. It's 2.2.1. |
Without much more details it's hard to guess what actually is the problem in this case. For AES the key size is set to |
Yes... |
|
Another device facing the same problem: One Plus 5T |
Interesting. Unfortunately I have neither device at hand to test it. Also the Stacktrace is not being much more helpful. Which encryption method are you using? Did you change this at some point? |
Same for me :/ From AndroidKeyStoreCipherSpiBase.java:
|
Hey Mauin, here's another Stacktrace from Android Vitals for a OnePlus3, Android 8:
|
Xiaomui Mi5 |
Just going around and have similar issue. Try it in android studio emulator on Nexus One with api 23. You will probably get the same error. This could help you with debugging |
any update on this? I have same problem |
For some reason devices like ZTE V6 Plus (6.0) throw
javax.crypto.IllegalBlockSizeException
where others, mainly mainstream Samsung, Huawei, Sony work as expected.RxFingerprint.encrypt(EncryptionMethod.AES, context, "a", "1234567890123456").subscribe()
At least one fingerprint has been enrolled.
Any ideas?
The text was updated successfully, but these errors were encountered: