openssl/doc/man1
Sebastian Andrzej Siewior cac19d19e7 rsa: Do not allow less than 512 bit RSA keys
As per documentation, the RSA keys should not be smaller than 64bit (the
documentation mentions something about a quirk in the prime generation
algorithm). I am adding check into the code which used to be 16 for some
reason.
My primary motivation is to get rid of the last sentence in the
documentation which suggest that typical keys have 1024 bits (instead
updating it to the now default 2048).
I *assume* that keys less than the 2048 bits (say 512) are used for
education purposes.
The 512 bits as the minimum have been suggested by Bernd Edlinger.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4547)
2017-12-11 12:53:07 +01:00
..
asn1parse.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
CA.pl.pod Documentation updates 2017-03-30 14:16:41 +02:00
ca.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
ciphers.pod Add link for more SECLEVEL info 2017-12-05 10:53:45 -05:00
cms.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
crl.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
crl2pkcs7.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
dgst.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
dhparam.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
dsa.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
dsaparam.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
ec.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
ecparam.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
enc.pod Typo fix 2017-11-11 20:34:45 -05:00
engine.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
errstr.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
gendsa.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
genpkey.pod Support multi-prime RSA (RFC 8017) 2017-11-21 14:38:42 +08:00
genrsa.pod rsa: Do not allow less than 512 bit RSA keys 2017-12-11 12:53:07 +01:00
list.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
nseq.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
ocsp.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
openssl.pod doc/man1/openssl.pod: Add missing commands and links 2017-10-06 10:44:35 +02:00
passwd.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
pkcs7.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
pkcs8.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
pkcs12.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
pkey.pod Support public key and param check in EVP interface 2017-11-20 07:20:30 +01:00
pkeyparam.pod Support public key and param check in EVP interface 2017-11-20 07:20:30 +01:00
pkeyutl.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
prime.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
rand.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
rehash.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
req.pod Leave a message in doc to indicate 0 is not acceptable 2017-12-08 12:48:18 +01:00
rsa.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
rsautl.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
s_client.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
s_server.pod Use ChaCha only if prioritized by clnt 2017-11-30 07:13:08 +10:00
s_time.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
sess_id.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
smime.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
speed.pod apps/speed.c: add -seconds and -bytes options 2017-12-04 14:54:40 +01:00
spkac.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
srp.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
storeutl.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
ts.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
tsget.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
verify.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
version.pod Additional name for all commands 2017-10-18 15:33:56 -04:00
x509.pod Additional name for all commands 2017-10-18 15:33:56 -04:00