hide private key from the log

This commit is contained in:
neilpang 2016-11-04 23:45:08 +08:00
parent 67184d7b20
commit d018be5d36

View File

@ -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"