Home GnuPG
Diffusion GnuPG a74aeb5dae1f

gpg: Add new option --only-sign-text-ids.
a74aeb5dae1fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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: T1241
  • Debian-bug-id: #569702

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 6 2015, 1:14 PM
Parents
rGf99830b72812: common: When classifying keyids and fingerprints, reject trailing junk.
Branches
Unknown
Tags
Unknown