Diffusion GnuPG 1a5d95e7319e

gpg: Check that a key may do certifications.

Authored by werner on Apr 6 2018, 11:04 AM.

Description

gpg: Check that a key may do certifications.

* g10/sig-check.c (check_signature_end_simple): Check key usage for
certifications.
(check_signature_over_key_or_uid): Request usage certification.
  • GnuPG-bug-id: T3844
  • Signed-off-by: Werner Koch <wk@gnupg.org>