diff options
author | Werner Koch <[email protected]> | 2009-03-06 17:31:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-03-06 17:31:27 +0000 |
commit | a9c317a95c440a083809346d61cdb78abff71b12 (patch) | |
tree | 6f5199efe8fba5473afc346f003abe74f6ab424e /agent/agent.h | |
parent | New PIN Callback attributes in gpg-agent. (diff) | |
download | gnupg-a9c317a95c440a083809346d61cdb78abff71b12.tar.gz gnupg-a9c317a95c440a083809346d61cdb78abff71b12.zip |
New gpg-agent command to list key information.
Gpgsm does now print the S/N of cards.
Consider ephemeral keys during listing an export.
Diffstat (limited to '')
-rw-r--r-- | agent/agent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index 0e2cc9f40..fa2c61d06 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -233,6 +233,9 @@ gpg_error_t agent_public_key_from_file (ctrl_t ctrl, const unsigned char *grip, gcry_sexp_t *result); int agent_key_available (const unsigned char *grip); +gpg_error_t agent_key_info_from_file (ctrl_t ctrl, const unsigned char *grip, + int *r_keytype, + unsigned char **r_shadow_info); /*-- call-pinentry.c --*/ void initialize_module_call_pinentry (void); @@ -294,6 +297,8 @@ int agent_shadow_key (const unsigned char *pubkey, unsigned char **result); int agent_get_shadow_info (const unsigned char *shadowkey, unsigned char const **shadow_info); +gpg_error_t parse_shadow_info (const unsigned char *shadow_info, + char **r_hexsn, char **r_idstr); /*-- trustlist.c --*/ |