From 67f76dafe0b7b8945af6ac087ba373adc9857217 Mon Sep 17 00:00:00 2001 From: Eric F Crist Date: Mon, 26 Feb 2018 07:26:49 -0600 Subject: [PATCH] Remove quotes around $pkcs_opts Credit to @OtherSystems and @Antagonym and some others who pointed this out. This resolves #189 and #193 and #186 and #179. Signed-off-by: Eric F Crist --- easyrsa3/easyrsa | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 4963bfc..ef36800 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -897,16 +897,18 @@ Missing key expected at: $key_in" fi # export the p12: + # shellcheck disable=SC2086 "$EASYRSA_OPENSSL" pkcs12 -in "$crt_in" -inkey "$key_in" -export \ - -out "$pkcs_out" "$pkcs_opts" || die "\ + -out "$pkcs_out" $pkcs_opts || die "\ Export of p12 failed: see above for related openssl errors." ;; p7) pkcs_out="$EASYRSA_PKI/issued/$short_name.p7b" # export the p7: + # shellcheck disable=SC2086 "$EASYRSA_OPENSSL" crl2pkcs7 -nocrl -certfile "$crt_in" \ - -out "$pkcs_out" "$pkcs_opts" || die "\ + -out "$pkcs_out" $pkcs_opts || die "\ Export of p7 failed: see above for related openssl errors." ;; esac