diff options
author | Werner Koch <[email protected]> | 2019-04-03 07:04:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-04-03 07:04:49 +0000 |
commit | 2d3392c147a24e49ee4658d4a50fafd68599fba3 (patch) | |
tree | 304d6e5aa033a2cef5c0c554a1f3c9793378a8cf /g10/keyid.c | |
parent | gpg: Allow direct key generation from card with --full-gen-key. (diff) | |
download | gnupg-2d3392c147a24e49ee4658d4a50fafd68599fba3.tar.gz gnupg-2d3392c147a24e49ee4658d4a50fafd68599fba3.zip |
gpg: Print modern style key info for non-decryptable keys.
* g10/mainproc.c (print_pkenc_list): Simplify.
--
This changes the output from
# ------------------------ >8 ------------------------
gpg: encrypted with 2048-bit RSA key, ID D20073D46DF6C97D, created 2019-04-02
"Test with PIV card"
to
gpg: encrypted with rsa2048 key, ID D20073D46DF6C97D, created 2019-04-02
"Test with PIV card"
Signed-off-by: Werner Koch <[email protected]>
# ------------------------ 8< ------------------------
Diffstat (limited to 'g10/keyid.c')
-rw-r--r-- | g10/keyid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyid.c b/g10/keyid.c index aa77b47e2..45454f056 100644 --- a/g10/keyid.c +++ b/g10/keyid.c @@ -68,7 +68,7 @@ pubkey_letter( int algo ) } /* Return a string describing the public key algorithm and the - keysize. For elliptic curves the functions prints the name of the + keysize. For elliptic curves the function prints the name of the curve because the keysize is a property of the curve. The string is copied to the supplied buffer up a length of BUFSIZE-1. Examples for the output are: |