From: Pauli Date: Mon, 17 Feb 2020 23:46:52 +0000 (+1000) Subject: pkey: update command line tool examples in light of deprecations. X-Git-Tag: openssl-3.0.0-alpha1~401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35eb4588710dc900f53301f87e3a27782b443f76;p=thirdparty%2Fopenssl.git 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) --- diff --git a/doc/man1/openssl-dsa.pod.in b/doc/man1/openssl-dsa.pod.in index 4ba948a41b1..03fcb7d09bb 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 7bf19892950..ed85ca04b8d 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 c8391b481f7..934bf5a3808 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 e2905b69340..c85fc123279 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 a6882602706..5b867225ac4 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 b9d05728839..1a3a1516e34 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