From f8a5f46f1d7b3a4158b4c488821114f955b0cc08 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Mon, 21 Nov 2022 20:26:08 +0000 Subject: [PATCH] Minor improvements to help for cmd:'set-pass' and opt:'--no-pass' Squashed commit of the following: commit 4f142baa04227963f291948dcbe2cb08e6ac6cd1 Merge: 0ee7a6d bcc71d6 Author: Richard T Bonhomme Date: Mon Nov 21 20:23:22 2022 +0000 Merge branch 'doc-set-pass' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-doc-set-pass Signed-off-by: Richard T Bonhomme commit bcc71d6c7e0d7bfe1d628cadc13689eb32fd4c8d Author: Richard T Bonhomme Date: Mon Nov 21 15:14:27 2022 +0000 Minor improvements to help for cmd:'set-pass' and opt:'--no-pass' Signed-off-by: Richard T Bonhomme Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 20321dc..3999d78 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -55,9 +55,13 @@ Here is the list of commands available with a short syntax reminder. Use the export-p7 [ cmd-opts ] export-p8 [ cmd-opts ] export-p12 [ cmd-opts ] + set-pass [ cmd-opts ] + upgrade + +Deprecated commands: set-rsa-pass [ cmd-opts ] set-ec-pass [ cmd-opts ] - upgrade + set-ed-pass [ cmd-opts ] " # collect/show dir status: @@ -99,6 +103,7 @@ cmd_help() { opts=" * nopass - do not encrypt the CA key (default is encrypted) + Equivalent to global option '--nopass|--no-pass' * subca - create an intermediate CA keypair and request (default is a root CA) * intca - alias to the above" @@ -118,8 +123,9 @@ cmd_help() { This request is suitable for sending to a remote CA for signing." opts=" - * text - Include certificate text in request - * nopass - do not encrypt the private key (default is encrypted)" + * nopass - do not encrypt the private key (default is encrypted) + Equivalent to global option '--nopass|--no-pass' + * text - Include certificate text in request" ;; sign|sign-req) text=" @@ -144,6 +150,7 @@ cmd_help() { opts=" * nopass - do not encrypt the private key (default is encrypted) + Equivalent to global option '--nopass|--no-pass' * inline - create an inline credentials file for this node" ;; revoke) @@ -181,7 +188,8 @@ cmd_help() { Rebuild a certificate and key specified by " opts=" - * nopass - do not encrypt the private key (default is encrypted)" + * nopass - do not encrypt the private key (default is encrypted) + Equivalent to global option '--nopass|--no-pass'" ;; renew) text=" @@ -340,11 +348,14 @@ cmd_help() { set-pass|set-ed-pass|set-rsa-pass|set-ec-pass) text=" * set-pass [ cmd-opts ] -* set-rsa-pass [ cmd-opts ] (Deprecated) -* set-ec-pass [ cmd-opts ] (Deprecated) -* set-ed-pass [ cmd-opts ] (Deprecated) - Set a new passphrase for the private key specified by " + Set a new passphrase for the private key specified by + + NOTE: 'set-pass' replaces the following deprecated commands: + + * set-rsa-pass [ cmd-opts ] + * set-ec-pass [ cmd-opts ] + * set-ed-pass [ cmd-opts ]" opts=" * nopass - use no password and leave the key unencrypted