From d1063e0ad046684955d4f03a00dc6ca26a1779e0 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 4 Feb 2023 00:55:36 +0000 Subject: [PATCH 1/3] Remove redundant separator lines Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 2 -- 1 file changed, 2 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 72ae492..d1079ff 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3604,7 +3604,6 @@ This file is stored at: || die "\ OpenSSL failure to process the input" - [ "$EASYRSA_SILENT" ] || print # Separate certificate above } # => show() # show-ca command backend @@ -3645,7 +3644,6 @@ This file is stored at: -nameopt "$name_opts" -certopt "$out_opts" || die "\ OpenSSL failure to process the input" - [ "$EASYRSA_SILENT" ] || print # Separate certificate above } # => show_ca() # Set fixed offset dates From 0d404360c57bfde8f78fd7904fbc54d5174d2b40 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 4 Feb 2023 14:33:45 +0000 Subject: [PATCH 2/3] show-ca: Remove undefined '$type' variable from output Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index d1079ff..3655267 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3635,10 +3635,9 @@ This file is not a valid $type file: $in_file" notice " -Showing $type details for 'ca'. - -This file is stored at: -* $in_file" +Showing details for CA certificate, at: +* $in_file +" easyrsa_openssl "$format" -in "$in_file" -noout -text \ -nameopt "$name_opts" -certopt "$out_opts" || die "\ From 84f6a3775c1242337b0be4cdb1705ea3fc7c481b Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 4 Feb 2023 14:47:31 +0000 Subject: [PATCH 3/3] init-pki soft: Add crl.pem to file delete list Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 3655267..0965c7d 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -1065,7 +1065,7 @@ and initialize a fresh PKI here." ;; soft) # There is no unit test for a soft reset - for i in ca.crt \ + for i in ca.crt crl.pem \ issued private reqs inline revoked renewed \ serial serial.old index.txt index.txt.old \ index.txt.attr index.txt.attr.old \