diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2019-04-13 15:52:47 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2020-09-09 18:32:10 +0200 |
commit | 10203a34725ec75136b03d64fd2126b321419ac1 (patch) | |
tree | 74fe59f88ef556a8bcadd7673bac64f092c7057b /doc/man1/openssl-rsa.pod.in | |
parent | 8ae40cf57d2138af92a3479e23f35037ae8c5c30 (diff) |
Support writing RSA keys using the traditional format again
Fixes: #6855
Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #8743
Diffstat (limited to 'doc/man1/openssl-rsa.pod.in')
-rw-r--r-- | doc/man1/openssl-rsa.pod.in | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/man1/openssl-rsa.pod.in b/doc/man1/openssl-rsa.pod.in index 4f9c41d668..722e4d584c 100644 --- a/doc/man1/openssl-rsa.pod.in +++ b/doc/man1/openssl-rsa.pod.in @@ -34,6 +34,7 @@ B<openssl> B<rsa> [B<-text>] [B<-noout>] [B<-modulus>] +[B<-traditional>] [B<-check>] [B<-pubin>] [B<-pubout>] @@ -47,10 +48,7 @@ B<openssl> B<rsa> =head1 DESCRIPTION This command processes RSA keys. They can be converted between -various forms and their components printed out. B<Note> this command uses the -traditional SSLeay compatible format for private key encryption: newer -applications should use the more secure PKCS#8 format using the -L<openssl-pkcs8(1)> command. +various forms and their components printed out. =head1 OPTIONS @@ -72,10 +70,10 @@ See L<openssl(1)/Format Options> for details. The key output format; the default is B<PEM>. See L<openssl(1)/Format Options> for details. -=item B<-inform> B<DER>|B<PEM> +=item B<-traditional> -The data is a PKCS#1 B<RSAPrivateKey> or B<SubjectPublicKey> object. -On input, PKCS#8 format private keys are also accepted. +When writing a private key, use the traditional PKCS#1 format +instead of the PKCS#8 format. =item B<-in> I<filename> |