mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-19 09:02:22 +02:00
gpg: Print indicator for unknown key capability.
* g10/keylist.c (print_capabilities): Print '?' for unknown usage.
This commit is contained in:
parent
b693ec02c4
commit
c4dbd1b2de
@ -161,6 +161,7 @@ described here.
|
|||||||
- s :: Sign
|
- s :: Sign
|
||||||
- c :: Certify
|
- c :: Certify
|
||||||
- a :: Authentication
|
- a :: Authentication
|
||||||
|
- ? :: Unknown capability
|
||||||
|
|
||||||
A key may have any combination of them in any order. In addition
|
A key may have any combination of them in any order. In addition
|
||||||
to these letters, the primary key has uppercase versions of the
|
to these letters, the primary key has uppercase versions of the
|
||||||
|
@ -627,6 +627,9 @@ print_capabilities (PKT_public_key *pk, KBNODE keyblock)
|
|||||||
if ((use & PUBKEY_USAGE_AUTH))
|
if ((use & PUBKEY_USAGE_AUTH))
|
||||||
es_putc ('a', es_stdout);
|
es_putc ('a', es_stdout);
|
||||||
|
|
||||||
|
if ((use & PUBKEY_USAGE_UNKNOWN))
|
||||||
|
es_putc ('?', es_stdout);
|
||||||
|
|
||||||
if (keyblock)
|
if (keyblock)
|
||||||
{
|
{
|
||||||
/* Figure out the usable capabilities. */
|
/* Figure out the usable capabilities. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user