Home GnuPG
Diffusion GnuPG 33e571a74a7d

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
rG2125f228d36c: build: Remove configure option --enable-gpg-is-gpg2
Branches
Unknown
Tags
Unknown
Tasks
T7286: Add --assert-signer also to gpgsm