[Cryptography] OpenSSL: rsa_builtin_keygen: key size too small

Matt Palmer matt at hezmatt.org
Sun Dec 22 21:05:29 EST 2019


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



More information about the cryptography mailing list