[Cryptography] OpenSSL: rsa_builtin_keygen: key size too small

Henry Baker hbaker1 at pipeline.com
Mon Dec 23 00:30:46 EST 2019


At 06:05 PM 12/22/2019, Matt Palmer wrote:
>On Sun, Dec 22, 2019 at 09:33:40AM -0800, Henry Baker wrote:
>> I tried to downgrade the encryption just for the development phase,
>> but OpenSSL won't allow me to use keys smaller than 512 bits.
>> 
>> Does anyone know how to turn off this error message in order to
>> work with much smaller keys?
>
>Based on a quick grovel through the openssl source, it looks like this limit
>is hard-coded, and requires a rebuild of openssl to set the value smaller.
>
>- Matt

Thanks Matt, Richard, Viktor.

I've compiled OpenSSL before -- it isn't very difficult -- so I guess I'll have to do it again!

Re embedded processor:

Actually, no, it's the other way around.  The eventual target (if it ever happens) will likely be a lot *more* powerful than my development machine, so I wanted to play with a "toy" version of the software at some reasonable speed prior to increasing the bit-length of the keys.



More information about the cryptography mailing list