Home GnuPG
Diffusion GnuPG e624c41dbafd

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.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 7 2019, 10:36 AM
Parents
rGf4047f56058c: gpg: Print rfc4880bis note only in verbose mode.
Branches
Unknown
Tags
Unknown