From b198f74f7b7bd23ce17d6e7fd86220e268b72e7f Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 21 Jun 2024 14:18:01 +0200 Subject: [PATCH] Try to fix FIPS alg search. The link: https://csrc.nist.gov/projects/Cryptographic-Algorithm-Validation-Program/validation-search?searchMode=implementation&page=1&ipp=250 does not work, gives 408. Their search on the site which queries this also does not work. However, when one searches by "validation" it does work. There is no difference to us, as we do not have any queries and simply want all the data. --- src/sec_certs/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sec_certs/constants.py b/src/sec_certs/constants.py index 620f984f..71c79f3e 100644 --- a/src/sec_certs/constants.py +++ b/src/sec_certs/constants.py @@ -32,7 +32,7 @@ FIPS_CMVP_URL = FIPS_BASE_URL + "/projects/cryptographic-module-validation-program" FIPS_CAVP_URL = FIPS_BASE_URL + "/projects/Cryptographic-Algorithm-Validation-Program" FIPS_MODULE_URL = FIPS_CMVP_URL + "/certificate/{}" -FIPS_ALG_SEARCH_URL = FIPS_CAVP_URL + "/validation-search?searchMode=implementation&page=" +FIPS_ALG_SEARCH_URL = FIPS_CAVP_URL + "/validation-search?searchMode=validation&page=" FIPS_SP_URL = "https://csrc.nist.gov/CSRC/media/projects/cryptographic-module-validation-program/documents/security-policies/140sp{}.pdf" FIPS_ACTIVE_MODULES_URL = ( FIPS_CMVP_URL + "/validated-modules/search?SearchMode=Advanced&CertificateStatus=Active&ValidationYear=0"