From 35eb4588710dc900f53301f87e3a27782b443f76 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 18 Feb 2020 09:46:52 +1000 Subject: [PATCH] pkey: update command line tool examples in light of deprecations. Specifically, refer from the deprecated tools to the pkey equivalents. Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/11113) --- doc/man1/openssl-dsa.pod.in | 3 +++ doc/man1/openssl-ec.pod.in | 3 +++ doc/man1/openssl-ecparam.pod.in | 3 +++ doc/man1/openssl-pkey.pod.in | 2 +- doc/man1/openssl-rsa.pod.in | 3 +++ doc/man1/openssl-rsautl.pod.in | 3 +++ 6 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/man1/openssl-dsa.pod.in b/doc/man1/openssl-dsa.pod.in index 4ba948a41b..03fcb7d09b 100644 --- a/doc/man1/openssl-dsa.pod.in +++ b/doc/man1/openssl-dsa.pod.in @@ -127,6 +127,9 @@ a public key. =head1 EXAMPLES +Examples equivalent to these can be found in the documentation for the +non-deprecated L command. + To remove the pass phrase on a DSA private key: openssl dsa -in key.pem -out keyout.pem diff --git a/doc/man1/openssl-ec.pod.in b/doc/man1/openssl-ec.pod.in index 7bf1989295..ed85ca04b8 100644 --- a/doc/man1/openssl-ec.pod.in +++ b/doc/man1/openssl-ec.pod.in @@ -145,6 +145,9 @@ This option checks the consistency of an EC private or public key. =head1 EXAMPLES +Examples equivalent to these can be found in the documentation for the +non-deprecated L command. + To encrypt a private key using triple DES: openssl ec -in key.pem -des3 -out keyout.pem diff --git a/doc/man1/openssl-ecparam.pod.in b/doc/man1/openssl-ecparam.pod.in index c8391b481f..934bf5a380 100644 --- a/doc/man1/openssl-ecparam.pod.in +++ b/doc/man1/openssl-ecparam.pod.in @@ -134,6 +134,9 @@ This option will generate an EC private key using the specified parameters. =head1 EXAMPLES +Examples equivalent to these can be found in the documentation for the +non-deprecated L and L commands. + To create EC parameters with the group 'prime192v1': openssl ecparam -out ec_param.pem -name prime192v1 diff --git a/doc/man1/openssl-pkey.pod.in b/doc/man1/openssl-pkey.pod.in index e2905b6934..c85fc12327 100644 --- a/doc/man1/openssl-pkey.pod.in +++ b/doc/man1/openssl-pkey.pod.in @@ -120,7 +120,7 @@ of a key pair. =head1 EXAMPLES -To remove the pass phrase on an RSA private key: +To remove the pass phrase on a private key: openssl pkey -in key.pem -out keyout.pem diff --git a/doc/man1/openssl-rsa.pod.in b/doc/man1/openssl-rsa.pod.in index a688260270..5b867225ac 100644 --- a/doc/man1/openssl-rsa.pod.in +++ b/doc/man1/openssl-rsa.pod.in @@ -140,6 +140,9 @@ Like B<-pubin> and B<-pubout> except B format is used instead. =head1 EXAMPLES +Examples equivalent to these can be found in the documentation for the +non-deprecated L command. + To remove the pass phrase on an RSA private key: openssl rsa -in key.pem -out keyout.pem diff --git a/doc/man1/openssl-rsautl.pod.in b/doc/man1/openssl-rsautl.pod.in index b9d0572883..1a3a1516e3 100644 --- a/doc/man1/openssl-rsautl.pod.in +++ b/doc/man1/openssl-rsautl.pod.in @@ -135,6 +135,9 @@ used to sign or verify small pieces of data. =head1 EXAMPLES +Examples equivalent to these can be found in the documentation for the +non-deprecated L command. + Sign some data using a private key: openssl rsautl -sign -in file -inkey key.pem -out sig -- GitLab