Home GnuPG
Diffusion GnuPG 6ee01c1d26ca

gpg,gpgsm: Add option --min-rsa-length.

Description

gpg,gpgsm: Add option --min-rsa-length.

* common/compliance.c (min_compliant_rsa_length): New.
(gnupg_pk_is_compliant): Take in account.
(gnupg_pk_is_allowed): Ditto.
(gnupg_set_compliance_extra_info): New.
* g10/gpg.c (oMinRSALength): New.
(opts): Add --min-rsa-length.
(main): Set value.
* g10/options.h (opt): Add field min_rsa_length.
* sm/gpgsm.c (oMinRSALength): New.
(opts): Add --min-rsa-length.
(main): Set value.
* sm/gpgsm.h (opt): Add field min_rsa_length.

Details

Provenance
wernerAuthored on Nov 18 2021, 8:44 PM
Parents
rGf453d52e53f9: po: Replace "PIN-Cache" by "Passwort Cache" in German.
Branches
Unknown
Tags
Unknown