1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch b287fb5775
Implement GNUPG_ASSUME_COMPLIANCE envvar for testing
* common/compliance.c (assumed_de_vs_compliance): New.
(get_compliance_cache): Check envvar and fake compliance.
(gnupg_status_compliance_flag): Return 2023 for de-vs if in faked
mode.
* g10/gpg.c (gpgconf_list): For compliance_de_vs return 23 or 2023.
--

The user visible changes are that

   GNUPG_ASSUME_COMPLIANCE=de-vs gpgconf --list-options gpg \
     | awk -F: '$1=="compliance_de_vs" {print $8}'

returns 2023 if "compliance de-vs" is found in gpg.conf.  If
eventually the software is arpproved the returned value will be 23 and
not 1 as it was before.  Consumers should check whether they see value
of true (Kleopatra does this right now) and also check whether the
value is > 2000 and in this case print a beta/non-approved warning.

The envvar is currently used to assume that the underlying libgcrypt
is compliant and approved.  This is not yet the case but eventually
libgcrypt will announce this itself and from then on the envvar is not
anymore required for testing.
2024-10-07 09:59:26 +02:00
..
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2015-10-28 10:20:17 +01:00
2021-10-06 10:35:51 +02:00
2020-02-18 18:07:46 -05:00
2024-05-31 12:28:32 +02:00
2015-11-17 12:50:22 +01:00
2024-02-15 14:40:33 +09:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2024-04-23 11:09:40 +02:00
2021-12-20 19:34:34 +01:00
2021-12-20 19:34:34 +01:00
2024-05-31 12:28:32 +02:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2019-07-12 12:11:26 +09:00
2020-02-18 18:07:46 -05:00
2016-03-02 14:27:30 +01:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2018-10-24 15:56:18 -04:00
2024-02-10 14:26:55 +01:00
2024-05-31 12:28:32 +02:00
2019-10-01 10:32:31 +02:00
2024-05-31 12:28:32 +02:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2022-09-14 15:42:03 +09:00
2022-04-06 13:28:15 +09:00
2022-08-02 14:35:38 +02:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2022-08-02 14:35:38 +02:00
2022-08-02 14:35:38 +02:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.