Home GnuPG
Diffusion GnuPG dd18be979e13

gpg: Forbid the creation of SHA-1 third-party key signatures.

Description

gpg: Forbid the creation of SHA-1 third-party key signatures.

* g10/sign.c (SIGNHINT_KEYSIG, SIGNHINT_SELFSIG): New.
(do_sign): Add arg signhints and inhibit SHA-1 signatures.  Change
callers to pass 0.
(complete_sig): Add arg signhints and pass on.
(make_keysig_packet, update_keysig_packet): Set signhints.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 11 2019, 11:41 AM
Parents
rGeebd43d5b688: dirmngr: Rename an enum value for clarity.
Branches
Unknown
Tags
Unknown