mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
scd: Parse "Algorithm Information" data object in scdaemon.
* scd/app-openpgp.c (data_objects): 0x00FA for binary data. (do_getattr): Parse the data and send it in status lines. (get_algorithm_attribute_string): New. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> Backported-from-master:eba2563dab
Backported-from-master:43bbc25b0f
This commit is contained in:
parent
1915b95ffd
commit
d6aa8bcbbb
2 changed files with 131 additions and 1 deletions
14
doc/DETAILS
14
doc/DETAILS
|
@ -1174,6 +1174,20 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||
name of the manufacturer is also given as <string>; spaces are not
|
||||
escaped. For PKCS#15 cards <string> is TokenInfo.manufactorerID.
|
||||
|
||||
*** KEY-STATUS <keyref> <status>
|
||||
This is the response from scdaemon on GETATTR KEY-STATUS for
|
||||
OpenPGP cards. <keyref> is the usual keyref (e.g. OPENPGP.1 or
|
||||
OPENPGP.129) and <status> is an integer describing the status of
|
||||
the key: 0 = key is not present, 1 = key generated on card, 2 =
|
||||
key imported. See section 4.4.3.8 of the OpenPGP Smart Card
|
||||
Application V3.4.
|
||||
|
||||
*** KEY-ATTR-INFO <keyref> <string>
|
||||
This is the response from scdaemon on GETATTR KEY-ATTR-INFO for
|
||||
OpenPGP cards. <keyref> is the usual keyref (e.g. OPENPGP.1 or
|
||||
OPENPGP.129) and <string> is the algoritm or curve name, which
|
||||
is available for the key.
|
||||
|
||||
* Format of the --attribute-fd output
|
||||
|
||||
When --attribute-fd is set, during key listings (--list-keys,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue