Home GnuPG
Diffusion GnuPG 54e06273c0dc

gpgsm: New option --assert-signer

Description

gpgsm: New option --assert-signer

* sm/gpgsm.c (oAssertSigner, oNoop): New.
(opts): Add option --assert-signer.
(assert_signer_true): New var.
(main): Set new option.
(gpgsm_exit): Handle assert_signer_true.
* sm/gpgsm.h (opt): Add field assert_signer_list.
* sm/verify.c (is_x509_fingerprint): New.
(check_assert_signer_list): New.
(gpgsm_verify): Handle option.

Details

Provenance
wernerAuthored on Sep 11 2024, 2:24 PM
Parents
rGf7f939234ba3: gpgconf: Add missing linefeed to the -X output.
Branches
Unknown
Tags
Unknown
Tasks
T7286: Add --assert-signer also to gpgsm