]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Improve documentation for -cipher option in openssl genpkey
authorKelsey Mulrooney <kelseymulrooney@kem6536.student.rit.edu>
Tue, 4 Mar 2025 18:25:53 +0000 (13:25 -0500)
committerTomas Mraz <tomas@openssl.org>
Tue, 29 Apr 2025 12:18:57 +0000 (14:18 +0200)
CLA: trivial

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27260)

doc/man1/openssl-genpkey.pod.in

index 1daa55df05b960c6c044475c344e5f8893194eb8..9824aa7a847d0c2f0bed2a87234ebf271c1cf8ca 100644 (file)
@@ -74,8 +74,10 @@ see L<openssl-passphrase-options(1)>.
 
 =item B<-I<cipher>>
 
-This option encrypts the private key with the supplied cipher. Any algorithm
-name accepted by EVP_get_cipherbyname() is acceptable such as B<des3>.
+Encrypts the private key using the specified algorithm. The algorithm can be
+specified using a name that is accepted by the EVP_get_cipherbyname() function.
+For example, use the syntax B<-aes-128-cbc> to specify the AES encryption
+algorithm with a 128-bit key in CBC mode.
 
 =item B<-algorithm> I<alg>