1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

scd:p15: Return the creation time of the keys.

* scd/app-p15.c (struct prkdf_object_s): Add keytime and keyalgostr.
(keygrip_from_prkdf): Set them.
(send_keypairinfo): Extend KEYPAIRINFO.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2021-03-30 10:27:20 +02:00
parent d1bac0a3be
commit de4d3c99aa
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 39 additions and 0 deletions

View file

@ -1229,6 +1229,13 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
OPENPGP.129) and <string> is the algoritm or curve name, which
is available for the key.
*** KEY-TIME <keyref> <timestamp>
This is a response from scdaemon on GETATTR KEY-TIME. A keyref of
1 gives the timestamp for the standard OpenPGP signing key, 2 for
the encryption key, and 3 for an authentication key. Note that a
KEYPAIRINFO status lines carries the same information and should
be preferred.
* Format of the --attribute-fd output
When --attribute-fd is set, during key listings (--list-keys,