Skip to contentSkip to conversation

Disable compromised CA certificates

PATCH New Paul Barker 1 participant 3 messages Oct 23

lore
Share & tools
lore
#0 lore raw

cover Disable compromised CA certificates

These changes update ca-certificates & python3-certifi for blacksail to handle the fallout of the recent Emudhra CA certificate compromise.

Assuming these patches pass testing, they will be merged to blacksail outside of the usual stable review process.

Branch: https://git.openembedded.org/openembedded-core-contrib/log/?h=pbarker/certs-blacksail
AB Build: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4983

---
Paul Barker (1):
ca-certificates: Disable compromised CA certificates

Ross Burton (1):

      python3-certifi: upgrade 2026.7.22 -> 2026.10.19
 ..._2026.7.22.bb => python3-certifi_2026.10.19.bb} |  2 +-
 ...mSign-ECC-Root-CA-G3-and-Comodo-AAA-Servi.patch | 35 ++++++++++++++++++++++
 .../ca-certificates/ca-certificates_20260816.bb    |  1 +
 3 files changed, 37 insertions(+), 1 deletion(-)

---
base-commit: a4461e117c1c501b7021d20c1380e4187fcda4c1
change-id: 20261023-certs-blacksail-9a394140198b

Best regards,

Signature · 1 line
Paul Barker
#1 lore raw

PATCH 1/2 ca-certificates: Disable compromised CA certificates

Backported a patch to address the eMudhra Intermediate CA Compromise disclosed at https://emudhra.we-have-a-problem.com. As this is a certificate authority compromise rather than a software flaw it doesn't have a CVE number, but this should be treated like a CVE fix.

This is a backport rather than a version bump as Debian did a "non-maintainer upload" 20260816+nmu1 instead of a typical new version release.

(cherry picked from commit c5098a7074996258e448bc6cf3d4fb1a708f7a42)
---
 ...mSign-ECC-Root-CA-G3-and-Comodo-AAA-Servi.patch | 35 ++++++++++++++++++++++
 .../ca-certificates/ca-certificates_20260816.bb    |  1 +
 2 files changed, 36 insertions(+)
meta/recipes-support/ca-certificates/ca-certificates/0001-Blacklist-emSign-ECC-Root-CA-G3-and-Comodo-AAA-Servi.patch new file +35 -0
new file mode 100644
index 000000000000..9a0258919aa6
@@ -0,0 +1,35 @@
+From d5e08f63b1ca6746a51e62cda4df5483c0d3e2ec Mon Sep 17 00:00:00 2001
+From: Paul Barker <[email protected]>
+Date: Wed, 21 Oct 2026 07:16:23 +0100
+Subject: [PATCH] Blacklist "emSign ECC Root CA - G3" and "Comodo AAA Services
+ root"
+
+[PB: Backported to address the eMudhra Intermediate CA Compromise
+     disclosed at https://emudhra.we-have-a-problem.com. As this is a
+     certificate authority compromise rather than a software flaw it
+     doesn't have a CVE number, but this should be treated like a CVE
+     fix.]
+
+Upstream-Status: Backport [https://salsa.debian.org/debian/ca-certificates/-/commit/4a0203e5ce4ce1a064b97387f52ca6a00c97185c]
+Signed-off-by: Paul Barker <[email protected]>
+---
+ mozilla/blacklist.txt | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/mozilla/blacklist.txt b/mozilla/blacklist.txt
+index d84ceb919906..ba3635f7af87 100644
+--- a/mozilla/blacklist.txt
++++ b/mozilla/blacklist.txt
+@@ -3,4 +3,9 @@
+ # Blacklist explicitly distrusted certificates to explicitly ignore them and prevent build errors
+ "Explicitly Distrust DigiNotar Root CA"
+ 
++# Blacklist "emSign ECC Root CA - G3" (cf. #1151413)
++"emSign ECC Root CA - G3"
++# Blacklist "Comodo AAA Services root" (cf. #1151413)
++"Comodo AAA Services root"
++
+ # Expired CAs
+-- 
+2.43.0
+
meta/recipes-support/ca-certificates/ca-certificates_20260816.bb +1 -0
index c9702d545a1c..be1ffeae4f54 100644
@@ -19,6 +19,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/ca-certificates/${BPN}_${PV}.tar.xz \
            file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch \
            file://0003-update-ca-certificates-use-relative-symlinks-from-ET.patch \
            file://0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch \
+           file://0001-Blacklist-emSign-ECC-Root-CA-G3-and-Comodo-AAA-Servi.patch \
            "
 S = "${UNPACKDIR}/ca-certificates"
 inherit allarch
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 python3-certifi: upgrade 2026.7.22 -> 2026.10.19

In reply to Paul Barker

From: Ross Burton <[email protected]>

This release has just one change: it removes the compromised eMudhra intermediate certificates[1].

[1] https://emudhra.we-have-a-problem.com

(cherry picked from commit 99c96202a2c9aea84f5ceb267a8c63c0cff58b1e)
---
 .../{python3-certifi_2026.7.22.bb => python3-certifi_2026.10.19.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-certifi_2026.10.19.bb renamed from meta/recipes-devtools/python/python3-certifi_2026.7.22.bb +1 -1
similarity index 88%
rename from meta/recipes-devtools/python/python3-certifi_2026.7.22.bb
rename to meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
index 8f1ba3aa9d72..02cdbe9a08ba 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "http://certifi.io/"
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
 
-SRC_URI[sha256sum] = "741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55"
+SRC_URI[sha256sum] = "035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae"
 
 inherit pypi python_setuptools_build_meta ptest-python-pytest
 
Signature · 1 line
2.43.0