diff options
author | Werner Koch <[email protected]> | 2017-08-08 11:04:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-08-08 11:05:50 +0000 |
commit | 0a8e20c4c639f0c491e2af5ac5fb97005196422b (patch) | |
tree | 3a4dc7c6d70b21afeb7bf2230ac47042a5f835f3 /doc/tools.texi | |
parent | gpg: Add option '--disable-dirmngr'. (diff) | |
download | gnupg-0a8e20c4c639f0c491e2af5ac5fb97005196422b.tar.gz gnupg-0a8e20c4c639f0c491e2af5ac5fb97005196422b.zip |
sm: Always print the keygrip in colon mode.
* sm/keylist.c (list_cert_colon): Always print the keygrip as
described in the manual.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/tools.texi')
-rw-r--r-- | doc/tools.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/tools.texi b/doc/tools.texi index d05018b63..332fb01b3 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -1189,10 +1189,12 @@ gpg-preset-passphrase [options] [command] @var{cacheid} @var{cacheid} is either a 40 character keygrip of hexadecimal characters identifying the key for which the passphrase should be set or cleared. The keygrip is listed along with the key when running the -command: @code{gpgsm --dump-secret-keys}. Alternatively an arbitrary -string may be used to identify a passphrase; it is suggested that such -a string is prefixed with the name of the application (e.g -@code{foo:12346}). +command: @code{gpgsm --with-keygrip --list-secret-keys}. +Alternatively an arbitrary string may be used to identify a +passphrase; it is suggested that such a string is prefixed with the +name of the application (e.g @code{foo:12346}). Scripts should always +use the option @option{--with-colons}, which provides the keygrip in a +"grp" line (cf. @file{doc/DETAILS})/ @noindent One of the following command options must be given: |