summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-07-20 20:49:41 +0200
committerWerner Koch <wk@gnupg.org>2011-07-20 20:49:41 +0200
commitd4799069918bf04badcce751b78b121a5b6a7d78 (patch)
tree0de74aada989b5e40991bb883b2172369c7dd684 /doc
parentNew functions to compute an ssh style fingerprint. (diff)
downloadgnupg2-d4799069918bf04badcce751b78b121a5b6a7d78.tar.xz
gnupg2-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 'doc')
-rw-r--r--doc/gpg-agent.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi
index 84486cffd..8811d0568 100644
--- a/doc/gpg-agent.texi
+++ b/doc/gpg-agent.texi
@@ -646,6 +646,12 @@ digits, optionally followed by the caching TTL in seconds and another
optional field for arbitrary flags. A non-zero TTL overrides the global
default as set by @option{--default-cache-ttl-ssh}.
+The only flag support is @code{confirm}. If this flag is found for a
+key, each use of the key will pop up a pinentry to confirm the use of
+that key. The flag is automatically set if a new key was loaded into
+@code{gpg-agent} using the option @option{-c} of the @code{ssh-add}
+command.
+
The keygrip may be prefixed with a @code{!} to disable an entry entry.
The following example lists exactly one key. Note that keys available
@@ -653,8 +659,9 @@ through a OpenPGP smartcard in the active smartcard reader are
implicitly added to this list; i.e. there is no need to list them.
@example
- # Key added on 2005-02-25 15:08:29
- 5A6592BF45DC73BD876874A28FD4639282E29B52 0
+ # Key added on: 2011-07-20 20:38:46
+ # Fingerprint: 5e:8d:c4:ad:e7:af:6e:27:8a:d6:13:e4:79:ad:0b:81
+ 34B62F25E277CF13D3C6BCEBFD3F85D08F0A864B 0 confirm
@end example
@item private-keys-v1.d/