1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00

scd: Add handling of "Algorithm Information" DO.

* cd/app-openpgp.c (data_objects): Add 0x00FA.
(do_getattr): Add KEY-ATTR-INFO.

--

See the section 4.4.3.11 Algorithm Information in the OpenPGP card
functional specification version 3.4.1.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 90d0072165cc5c6888f14462392a211de0c4b232)
Some parts where already here.
This commit is contained in:
NIIBE Yutaka 2020-09-03 19:58:10 +09:00 committed by Werner Koch
parent d4208704a7
commit acda0a3f33
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1077,6 +1077,7 @@ do_getattr (app_t app, ctrl_t ctrl, const char *name)
{ "MANUFACTURER", 0x0000, -8 },
{ "UIF", 0x0000, -9 }, /* Shortcut for all UIF */
{ "KEY-STATUS", 0x00DE, 6 },
{ "KEY-ATTR-INFO", 0x00FA, 7 },
{ NULL, 0 }
};
int idx, i, rc;