summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorHaixiao Yan <haixiao.yan.cn@windriver.com>2024-07-18 14:59:46 +0800
committerArmin Kuster <akuster808@gmail.com>2024-07-30 09:45:11 -0400
commit52ecd66835dcfd8b4e55c9cb6325908ccea6a4e7 (patch)
tree05e1df19f30896a6ff46e54a53a24eaf3dce16e2 /meta-oe
parent6e66175949fa6b5596faf608c2bdc4d535a28e3d (diff)
downloadmeta-openembedded-52ecd66835dcfd8b4e55c9cb6325908ccea6a4e7.tar.gz
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 <haixiao.yan.cn@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/nss/nss/regenerate_NameConstrain_test_certificates.tar.gzbin0 -> 10734 bytes
-rw-r--r--meta-oe/recipes-support/nss/nss_3.74.bb1
2 files changed, 1 insertions, 0 deletions
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
--- /dev/null
+++ b/meta-oe/recipes-support/nss/nss/regenerate_NameConstrain_test_certificates.tar.gz
Binary files 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
36 file://0001-Bug-1867408-add-a-defensive-check-for-large-ssl_DefS.patch;patchdir=nss \ 36 file://0001-Bug-1867408-add-a-defensive-check-for-large-ssl_DefS.patch;patchdir=nss \
37 file://CVE-2023-0767.patch \ 37 file://CVE-2023-0767.patch \
38 file://0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch \ 38 file://0001-Bug-1750624-Pin-validation-date-for-PayPalEE-test-ce.patch \
39 file://regenerate_NameConstrain_test_certificates.tar.gz \
39 " 40 "
40SRC_URI[sha256sum] = "88928811f9f40f87d42e2eaccdf6e454562e51486067f2ddbe90aa47ea6cd056" 41SRC_URI[sha256sum] = "88928811f9f40f87d42e2eaccdf6e454562e51486067f2ddbe90aa47ea6cd056"
41 42