On Wed, 4 Jan 2017 14:53, pe...@digitalbrains.com said: > "Really sign all text user IDs? (y/N)"
> So how come that the jpeg image is about to be signed as well? What > does "TEXT user ID" mean? I would have expected only the other UID's > to be signed. Is this a bug in my head or in the code? I think this patch is wrong: commit a74aeb5dae1f673fcd98b39a6a0496f3c622709a AuthorDate: Fri Nov 6 13:14:57 2015 +0100 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. GnuPG-bug-id: 1241 Debian-bug-id: 569702 In particular if (opt.only_sign_text_ids) result = cpr_get_answer_is_yes ("keyedit.sign_all.okay", _("Really sign all user IDs? (y/N) ")); else result = cpr_get_answer_is_yes ("keyedit.sign_all.okay", _("Really sign all text user IDs? (y/N) ")); looks wrong. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
pgpvg0QgdiLND.pgp
Description: PGP signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users