Home GnuPG
Diffusion GnuPG 3b1fcf65239d

gpg: Add option --allow-weak-key-signatures.

Description

gpg: Add option --allow-weak-key-signatures.

* g10/gpg.c (oAllowWeakKeySignatures): New.
(opts): Add --allow-weak-key-signatures.
(main): Set it.
* g10/options.h (struct opt): Add flags.allow_weak_key_signatures.
* g10/misc.c (print_sha1_keysig_rejected_note): New.
* g10/sig-check.c (check_signature_over_key_or_uid): Print note and
act on new option.

(cherry picked from commit e624c41dbafd33af82c1153188d14de72fcc7cd8)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 7 2019, 10:36 AM
Parents
rG1d83f92fa928: doc: Improved description of status PLAINTEXT_LENGTH.
Branches
Unknown
Tags
Unknown