summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-02-13 11:51:54 +0100
committerWerner Koch <wk@gnupg.org>2020-02-13 11:52:10 +0100
commit1ad84aabb410e56bea074b82a06fe32b2897b660 (patch)
treeb6971a32bbff825bdf53f8ab09c5b36c37fa0f4f /doc
parentagent: Allow signing with card key even without a stub key. (diff)
downloadgnupg2-1ad84aabb410e56bea074b82a06fe32b2897b660.tar.xz
gnupg2-1ad84aabb410e56bea074b82a06fe32b2897b660.zip
scd:openpgp: Return key creation time as part of KEYPARIINFO.
* scd/app-openpgp.c (send_keypair_info): Reaturn the key creation time as part of a KEYPAIRINFO. (do_readkey): Do not return the KEY-TIME anymore. -- Sending the KEY_TIME status as part of a READKEY command was only recently added. It is better to merge that into the KEYPAIRINFO line. Another patch with chnage this for the consumers of that info. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/DETAILS14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index bd00006e9..eb8abe4b4 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -1157,6 +1157,20 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
that the keyboxd SEARCH command can be used to lookup the public
key using the <ubid> prefixed with a caret (^).
+*** KEYPAIRINFO <grip> <keyref> [<usage>] [<keytime>]
+ This status is emitted by scdaemon and gpg-agent to convey brief
+ information about keypairs stored on tokens. <grip> is the
+ hexified keygrip of the key or, if no key is stored, an "X".
+ <keyref> is the ID of a card's key; for example "OPENPGP.2" for
+ the second key slot of an OpenPGP card. <usage> is optional and
+ returns technically possible key usages, this is a string of
+ single letters describing the usage ('c' for certify, 'e' for
+ encryption, 's' for signing, 'a' for authentication). A '-' can be
+ used to tell that usage flags are not conveyed. <keytime> is used
+ by OpenPGP cards for the stored key creation time. A '-' means no
+ info available. The format is the usual ISO string are a number
+ with the seconds since Epoch.
+
* Format of the --attribute-fd output
When --attribute-fd is set, during key listings (--list-keys,