summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-11-06 13:14:57 +0100
committerNeal H. Walfield <neal@g10code.com>2015-11-06 13:16:37 +0100
commita74aeb5dae1f673fcd98b39a6a0496f3c622709a (patch)
tree5e48cfbf2cece79d752be12c7a283ff792ac984d /doc
parentcommon: When classifying keyids and fingerprints, reject trailing junk. (diff)
downloadgnupg2-a74aeb5dae1f673fcd98b39a6a0496f3c622709a.tar.xz
gnupg2-a74aeb5dae1f673fcd98b39a6a0496f3c622709a.zip
gpg: Add new option --only-sign-text-ids.
* g10/options.h (opt): Add field only_sign_text_ids. * g10/gpg.c (enum cmd_and_opt_values): Add value oOnlySignTextIDs. (opts): Handle oOnlySignTextIDs. (main): Likewise. * g10/keyedit.c (sign_uids): If OPT.ONLY_SIGN_TEXT_IDS is set, don't select non-text based IDs automatically. (keyedit_menu): Adapt the prompt asking to sign all user ids according to OPT.ONLY_SIGN_TEXT_IDS. * doc/gpg.texi: Document the new option --only-sign-text-ids. -- Signed-off-by: Neal H. Walfield <neal@g10code.com> GnuPG-bug-id: 1241 Debian-bug-id: 569702
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 246b441bd..dcef49506 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -650,6 +650,10 @@ and "t" (for trust) may be freely mixed and prefixed to "sign" to
create a signature of any type desired.
@c man:.RE
+If the option @option{--only-sign-text-ids} is specified, then any
+non-text based user ids (e.g., photo IDs) will not be selected for
+signing.
+
@table @asis
@item delsig