From 2d3392c147a24e49ee4658d4a50fafd68599fba3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 3 Apr 2019 09:04:49 +0200 Subject: 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 # ------------------------ 8< ------------------------ --- g10/keyid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/keyid.c') 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: -- cgit v1.2.3