From e601a08e52f9b7ce671a622ffda27f53b71d63c8 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Thu, 6 Feb 2014 08:13:25 +0100 Subject: [PATCH] print verbose information about found key --- yubico-piv-tool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yubico-piv-tool.c b/yubico-piv-tool.c index 29be339..c6e7d68 100644 --- a/yubico-piv-tool.c +++ b/yubico-piv-tool.c @@ -547,6 +547,9 @@ static bool import_key(SCARDHANDLE *card, enum enum_key_format key_format, ret = false; goto import_out; } + if(verbose) { + fprintf(stderr, "Found RSA-%d key.\n", size * 8); + } { APDU apdu; unsigned char in_data[1024];