diff options
author | Werner Koch <wk@gnupg.org> | 2021-11-18 20:44:14 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-11-18 20:49:37 +0100 |
commit | 5f39db70c069a95731a8a1f65547e3314d6b1f85 (patch) | |
tree | 542a8ac70cc32c4fc1de79fa24cedd2fbd7a759d /sm/gpgsm.h | |
parent | gpgconf: --show-configs now prints a bunch of Registry entries. (diff) | |
download | gnupg2-5f39db70c069a95731a8a1f65547e3314d6b1f85.tar.xz gnupg2-5f39db70c069a95731a8a1f65547e3314d6b1f85.zip |
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.
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r-- | sm/gpgsm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index acf8caeed..0dfd56daf 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -142,6 +142,8 @@ struct the integrity of the software at runtime. */ + unsigned int min_rsa_length; /* Used for compliance checks. */ + strlist_t keyserver; /* A list of certificate extension OIDs which are ignored so that |