From d018be5d36e83428ab43ef51c67104f675f96f5a Mon Sep 17 00:00:00 2001 From: neilpang Date: Fri, 4 Nov 2016 23:45:08 +0800 Subject: [PATCH] hide private key from the log --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 653dd042..83bca1d8 100755 --- a/acme.sh +++ b/acme.sh @@ -457,7 +457,7 @@ _sign() { if ! _signedECText="$($_sign_openssl | openssl asn1parse -inform DER)" ; then _err "Sign failed: $_sign_openssl" _err "Key file: $keyfile" - _err "Key content:$(cat "$keyfile")" + _err "Key content:$(cat "$keyfile" | wc -l) lises" return 1 fi _debug3 "_signedECText" "$_signedECText"