[Pkg-openssl-devel] Bug#243509: openssl: genrsa get crasy with small key size

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Wed Mar 2 13:57:50 UTC 2016


On 2004-04-13 15:07:01 [+0200], christophe nowicki wrote:
> The genrsa openssl command does not work with small key size.
> 
> When I ask for a keysize between 1 and 30 genrsa goes crasy :
> 
> $openssl genrsa -des -out CA.key 30
> Generating RSA private key, 30 bit long modulus
> .+++++++++++++++++++++++++++
> .+++++++++++++++++++++++++++*.+++++++++++++++++++++++++++*.+++++++++++++++++++++++++++*.+++++++++++++++++
> 
> lots of ...

I think this has been fixed in the meantime:
|openssl genrsa -out CA.key 30
|Generating RSA private key, 30 bit long modulus
|.+++++++++++++++++++++++++++
|.+++++++++++++++++++++++++++.+++++++++++++++++++++++++++.+++++++++++++++++++++++++++140122986002064:error:04081078:rsa
|routines:RSA_BUILTIN_KEYGEN:key size too small:rsa_gen.c:175:

and this bug can be closed. It aborts early and does not print dots over
and over.

Sebastian



More information about the Pkg-openssl-devel mailing list