aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-05-27 11:47:13 +0000
committerWerner Koch <[email protected]>2023-10-10 14:33:34 +0000
commitd4208704a784a6da6322b54448e2f687c01714b8 (patch)
treeeabb06501769d5aeef4b57d39fc4a1874778470f
parentscd:openpgp: Add attribute "UIF" for convenience. (diff)
downloadgnupg-d4208704a784a6da6322b54448e2f687c01714b8.tar.gz
gnupg-d4208704a784a6da6322b54448e2f687c01714b8.zip
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.
-rw-r--r--scd/app-openpgp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index f1f9bf465..942b7814e 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -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;