From d0f7a291b245010dfd9cd71edca2d7c36974a15a Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Thu, 6 Feb 2014 08:01:37 +0100 Subject: [PATCH] don't print password instead remind the user the password might be wrong. --- yubico-piv-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yubico-piv-tool.c b/yubico-piv-tool.c index 578798b..1f4cf60 100644 --- a/yubico-piv-tool.c +++ b/yubico-piv-tool.c @@ -521,7 +521,7 @@ static bool import_key(SCARDHANDLE *card, enum enum_key_format key_format, goto import_out; } if(PKCS12_parse(p12, password, &private_key, &cert, NULL) == 0) { - fprintf(stderr, "Failed to parse PKCS12 structure. (password: %s)\n", password); + fprintf(stderr, "Failed to parse PKCS12 structure. (wrong password?)\n"); ret = false; goto import_out; }