From 52ecd66835dcfd8b4e55c9cb6325908ccea6a4e7 Mon Sep 17 00:00:00 2001 From: Haixiao Yan Date: Thu, 18 Jul 2024 14:59:46 +0800 Subject: nss: fix failed test of nss. The expiration date of the "NameConstraints.*.cert" test certificate in the nss package is Sep 4 2023 and causing a test failure. This commit regenerate NameConstraints test certificates and changes the validity period of test certs generated by `make-nc` from ~10 years to ~20 years. regenerate_NameConstrain_test_certificates.tar.gz is a snapshot of certs files based on the commit which update them. It fails to apply binary commit, so create a tarball as part of SRC_URI rather than a .patch file. Upstream-Status: Backport [https://hg.mozilla.org/projects/nss/rev/1d565dc7e17dad6d2851b2d6ff522c5d6345ae26] Signed-off-by: Haixiao Yan Signed-off-by: Armin Kuster --- .../regenerate_NameConstrain_test_certificates.tar.gz | Bin 0 -> 10734 bytes meta-oe/recipes-support/nss/nss_3.74.bb | 1 + 2 files changed, 1 insertion(+) create mode 100644 meta-oe/recipes-support/nss/nss/regenerate_NameConstrain_test_certificates.tar.gz (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/nss/nss/regenerate_NameConstrain_test_certificates.tar.gz b/meta-oe/recipes-support/nss/nss/regenerate_NameConstrain_test_certificates.tar.gz new file mode 100644 index 0000000000..568db6e7ec Binary files /dev/null and b/meta-oe/recipes-support/nss/nss/regenerate_NameConstrain_test_certificates.tar.gz differ diff --git a/meta-oe/recipes-support/nss/nss_3.74.bb b/meta-oe/recipes-support/nss/nss_3.74.bb index 4777f79379..cffeee5ecb 100644 --- a/meta-oe/recipes-support/nss/nss_3.74.bb +++ b/meta-oe/recipes-support/nss/nss_3.74.bb @@ -36,6 +36,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${VERSIO file://0001-Bug-1867408-add-a-defensive-check-for-large-ssl_DefS.patch;patchdir=nss \ file://CVE-2023-0767.patch \ file://0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch \ + file://regenerate_NameConstrain_test_certificates.tar.gz \ " SRC_URI[sha256sum] = "88928811f9f40f87d42e2eaccdf6e454562e51486067f2ddbe90aa47ea6cd056" -- cgit v1.2.3-54-g00ecf