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

scd:openpgp: New KEY-STATUS attribute.

* scd/app-openpgp.c (do_getattr): Return KEY-STATUS
--

(cherry picked from commit 21496761226c1020a98e3ec7dd2b9dd013d4386b)
Some things from the original commit where already here.
This commit is contained in:
Werner Koch 2020-05-27 13:47:13 +02:00
parent 216f3fc96a
commit d4208704a7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1073,9 +1073,10 @@ do_getattr (app_t app, ctrl_t ctrl, const char *name)
{ "UIF-1", 0x00D6, 0 },
{ "UIF-2", 0x00D7, 0 },
{ "UIF-3", 0x00D8, 0 },
{ "UIF", 0x0000, -9 }, /* Shortcut for all UIF */
{ "KDF", 0x00F9, 5 },
{ "MANUFACTURER", 0x0000, -8 },
{ "UIF", 0x0000, -9 }, /* Shortcut for all UIF */
{ "KEY-STATUS", 0x00DE, 6 },
{ NULL, 0 }
};
int idx, i, rc;