aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-12-20 16:08:17 +0000
committerWerner Koch <[email protected]>2021-12-20 18:34:34 +0000
commitace15e1b09dc9fc83d71faeeb7805802ed5bcc82 (patch)
treefdc3d9b2a0e5246a36012ec7cc7fc97cff3a9bd2 /g10/keydb.h
parentcommon: Add set_membuf_err. (diff)
downloadgnupg-ace15e1b09dc9fc83d71faeeb7805802ed5bcc82.tar.gz
gnupg-ace15e1b09dc9fc83d71faeeb7805802ed5bcc82.zip
gpg: Allow passing a keygrip as description to pinentry.
* g10/keydb.h (FORMAT_KEYDESC_KEYGRIP): New. * g10/passphrase.c (gpg_format_keydesc): Add new mode. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/keydb.h')
-rw-r--r--g10/keydb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/keydb.h b/g10/keydb.h
index 806b9303b..a91309a5b 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -316,6 +316,7 @@ void emit_status_need_passphrase (ctrl_t ctrl, u32 *keyid,
#define FORMAT_KEYDESC_IMPORT 1
#define FORMAT_KEYDESC_EXPORT 2
#define FORMAT_KEYDESC_DELKEY 3
+#define FORMAT_KEYDESC_KEYGRIP 4
char *gpg_format_keydesc (ctrl_t ctrl,
PKT_public_key *pk, int mode, int escaped);