aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-07-20 18:49:41 +0000
committerWerner Koch <[email protected]>2011-07-20 18:49:41 +0000
commitd4799069918bf04badcce751b78b121a5b6a7d78 (patch)
tree0de74aada989b5e40991bb883b2172369c7dd684 /agent/agent.h
parentNew functions to compute an ssh style fingerprint. (diff)
downloadgnupg-d4799069918bf04badcce751b78b121a5b6a7d78.tar.gz
gnupg-d4799069918bf04badcce751b78b121a5b6a7d78.zip
Support a confirm flag for ssh.
This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.
Diffstat (limited to '')
-rw-r--r--agent/agent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index dfc82ec2f..fbd71d51e 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -268,6 +268,8 @@ gpg_error_t agent_key_from_file (ctrl_t ctrl,
lookup_ttl_t lookup_ttl,
gcry_sexp_t *result,
char **r_passphrase);
+gpg_error_t agent_raw_key_from_file (ctrl_t ctrl, const unsigned char *grip,
+ gcry_sexp_t *result);
gpg_error_t agent_public_key_from_file (ctrl_t ctrl,
const unsigned char *grip,
gcry_sexp_t *result);