https://bugs.kde.org/show_bug.cgi?id=529186
Bug ID: 529186
Summary: KDE Flatpak Platform 6.10 still trusts distrusted
emSign ECC Root CA - G3
Classification: Developer tools
Product: Qt/KDE Flatpak Runtime
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
### Description
The `org.kde.Platform/x86_64/6.10` Flatpak runtime still includes the `emSign
ECC Root CA - G3` certificate in its TLS CA bundle.
This root certificate was removed from Debian's trusted CA store following the
eMudhra certificate security incident in October 2026.
The certificate is present in the KDE runtime's PEM CA bundle and is accepted
by OpenSSL when that bundle is explicitly supplied via `-CAfile`. In contrast,
the updated Debian 13 CA bundle rejects the same certificate.
### Environment
- Host OS: Debian 13 (Trixie)
- Host `ca-certificates`: `20250419+deb13u1`
- Flatpak runtime: `org.kde.Platform/x86_64/6.10`
- Runtime commit:
`31742ff0f905913c512ea732960bbdeffa8306dcbebca45eeee62bfed0ca03a3`
- Application used for testing: `net.pcsx2.PCSX2`
- Flatpak remote: Flathub
- Runtime CA bundle: `/etc/ssl/certs/ca-certificates.crt`
- Resolved CA bundle path: `/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem`
### Steps to reproduce
**1. Launch a shell inside KDE Platform 6.10**
```bash
flatpak run \
--runtime=org.kde.Platform/x86_64/6.10 \
--command=sh org.kde.Platform
```
**2. Check the runtime's CA bundle**
```bash
openssl crl2pkcs7 -nocrl \
-certfile /etc/ssl/certs/ca-certificates.crt |
openssl pkcs7 -print_certs -noout |
grep -i 'emSign ECC Root CA - G3'
```
Actual result:
```text
subject=C=IN, OU=emSign PKI, O=eMudhra Technologies Limited, CN=emSign ECC Root
CA - G3
issuer=C=IN, OU=emSign PKI, O=eMudhra Technologies Limited, CN=emSign ECC Root
CA - G3
```
**3. Extract and verify the G3 certificate against the KDE runtime CA bundle**
Extract the certificate with subject `emSign ECC Root CA - G3` from the bundle
and save it as `cert-g3.pem`.
```bash
openssl verify \
-CAfile /etc/ssl/certs/ca-certificates.crt \
-no-CApath \
-no-CAstore \
cert-g3.pem
```
Observed result from verification using the runtime CA bundle:
```text
cert-g3.pem: OK
```
The original verification was performed with `-CAfile` without explicitly
disabling the other default trust sources.
**4. Compare against the updated Debian CA bundle**
The Debian CA bundle was exposed to the PCSX2 Flatpak sandbox read-only at:
`/run/host/etc/ssl/certs/ca-certificates.crt`
Verify the same G3 certificate:
```bash
openssl verify \
-CAfile /run/host/etc/ssl/certs/ca-certificates.crt \
-no-CApath \
-no-CAstore \
cert-g3.pem
```
Actual result:
```text
error 18 at 0 depth lookup: self-signed certificate
verification failed
```
### Additional observations
- `trust list --filter=ca-anchors` does not show `emSign ECC Root CA - G3` as a
trust anchor, despite its presence in the runtime's PEM CA bundle.
- The runtime CA bundle allows successful verification of the G3 root with
OpenSSL when explicitly supplied via `-CAfile`.
- Other tested Flatpak applications (OrcaSlicer, Steam, Viber, Gear Lever and
Telegram) did not show G3 in their standard CA bundles.
- No Flatpak updates were available at the time of testing (November 20, 2026).
- An application-specific workaround was tested by setting `SSL_CERT_FILE` to
the updated Debian CA bundle. OpenSSL successfully verified a normal HTTPS
connection and rejected G3 when explicitly checked against that Debian bundle.
- This report demonstrates inconsistent CA bundle contents. It does not
establish that all applications using KDE Platform 6.10 accept the affected
certificate during actual TLS connections.
### Expected behavior
The KDE Flatpak runtime's TLS CA bundle should not contain root certificates
removed from the trusted CA store following a security incident.
The PEM CA bundle and the p11-kit trust configuration should also be
consistent.
### Request
Could you please investigate how the CA bundle is generated in KDE Platform
6.10 and ensure the distrusted `emSign ECC Root CA - G3` certificate is
removed?
It would also be useful to check for any other root certificates affected by
the eMudhra incident that may remain in the runtime's CA bundle.
--
You are receiving this mail because:
You are watching all bug changes.