Home GnuPG
Diffusion GnuPG 9500b2c7762b

gpgsm: New option --assert-validsig.

Description

gpgsm: New option --assert-validsig.

* sm/gpgsm.c (oAssertValidsig, oAssertKeyusage): New.
(opts): Add options --assert0validsig and --assert-keyusage.
(assert_validsig_true): New global var.
(main): Set options.
(gpgsm_exit): Implement --assert-validsig.
* sm/gpgsm.h (opt): Add fields assert_validsig and assert_keyusage.
* sm/verify.c (gpgsm_verify): Set assert_validsig_true.

This option will be used by internal use of gpgsm.
Note that --assert-keyusage is not yet implemented.

Details

Provenance
wernerAuthored on Wed, Feb 18, 1:32 PM
Parents
rGb7aa3f5e320d: gpg: Fix armor parsing when no CRC is found.
Branches
Unknown
Tags
Unknown