-
Notifications
You must be signed in to change notification settings - Fork 53
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
error.0400008d.RSA routines.OPENSSL_internal.TOO_MANY_ITERATIONS #136
Comments
Device info is here: Android TV OS Name: 11 |
What are you trying to do? I'm not a crypto expert, certainly not an embedded expert, but could this be a combination of low powered platform, little randomness available and aiming for large primes? A quick search yielded: openssl/openssl#4151 It's possible we should figure out what the error is, and print a nicer message. Now I wouldn't dare to give advice on how to do cryptographic protocols, but it's thinkable that smaller primes (fewer bits), or a different primitive like ECDSA might have differently. |
in 32bit system
as a temporary fix you may change |
Has there been any attempts to fix this? I am currently running the following on a Galaxy Watch 2. This works completely fine on a Google Pixel 9, Fedora Linux desktop, and a Windows desktop. await RsaOaepPrivateKey.generateKey(
2048,
BigInt.from(65537),
Hash.sha256,
); It works fine on all devices except the Galaxy Watch 2, citing the exact same |
Recently, I've been getting this issue while creating the public key in debug mode. However, if I build the APK and test it on an Android box or Android TV,
I get this error:
error.0400008d:RSA routines:OPENSSL_internal:TOO_MANY_ITERATIONS
in Flutter.The text was updated successfully, but these errors were encountered: