mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <wk@gnupg.org> # ------------------------ 8< ------------------------
This commit is contained in:
parent
a480182f9d
commit
2d3392c147
2 changed files with 9 additions and 9 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue