eMudhra Private Key compromise

The tech world is buzzing today about a weak private key issue. I asked Claude to help me understand what’s going on.

TLS and certificates have always confused me, so I asked Claude to explain the basics and walk through how the code changes in Go 1.27.3 addressed the issue. Here is the link emudhra-weak-ca-keys.html

eMudhra roots on my machine

I’m running Ubuntu 24.04. I asked Claude to check whether any certificates on my machine were issued by eMudhra. Here’s what it found, along with its explanation of how they got installed.

  • emSign ECC Root CA - G3
  • emSign RootCA - G1
  • emSign Root CA - C1
  • emSign ECC Root CA - C3

They came with Ubuntu’s ca-certificates package, the system’s standard bundle of trusted root certificates. Nothing installed them separately, and you didn’t add them.

How it happened:

  1. Mozilla runs a public list of trusted root certificates for Firefox. All four emSign roots were accepted into that list around 2020.
  2. Debian and Ubuntu copy Mozilla’s list into the ca-certificates package. The package’s changelog shows all four emSign roots added in version 20200601.
  3. Your laptop got the package through normal system updates. Your update log shows it upgraded on 2026-06-17 and again on 2026-10-11, when you moved from Ubuntu 22.04 to 24.04.
  4. During each install, update-ca-certificates reads /etc/ca-certificates.conf, which lists all four emSign roots (lines 135–138). It then links each one into /etc/ssl/certs and adds them to the bundle ca-certificates.crt.

Commands I used to confirm this:

dpkg -S /usr/share/ca-certificates/mozilla/emSign_ECC_Root_CA_-_G3.crt    # which package owns it
grep emSign /etc/ca-certificates.conf                                     # enabled in config
zcat /usr/share/doc/ca-certificates/changelog.gz | grep -i -B3 emsign     # when it was added
grep ca-certificates /var/log/dpkg.log                                    # when your system upgraded it
openssl x509 -in /etc/ssl/certs/emSign_ECC_Root_CA_-_G3.pem -noout -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            3c:f6:07:a9:68:70:0e:da:8b:84
        Signature Algorithm: ecdsa-with-SHA384
        Issuer: C=IN, OU=emSign PKI, O=eMudhra Technologies Limited, CN=emSign ECC Root CA - G3
        Validity
            Not Before: Feb 18 18:30:00 2018 GMT
            Not After : Feb 18 18:30:00 2043 GMT
        Subject: C=IN, OU=emSign PKI, O=eMudhra Technologies Limited, CN=emSign ECC Root CA - G3
        Subject Public Key Info:
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (384 bit)
                pub:
                    04:23:a5:0c:b8:2d:12:f5:28:f3:b1:b2:dd:e2:02:
                    12:80:9e:39:5f:49:4d:9f:c9:25:34:59:74:ec:bb:
                    06:1c:e7:c0:72:af:e8:ae:2f:e1:41:54:87:14:a8:
                    4a:b2:e8:7c:82:e6:5b:6a:b5:dc:b3:75:ce:8b:06:
                    d0:86:23:bf:46:d5:8e:0f:3f:04:f4:d7:1c:92:7e:
                    f6:a5:63:c2:f5:5f:8e:2e:4f:a1:18:19:02:2b:32:
                    0a:82:64:7d:16:93:d1
                ASN1 OID: secp384r1
                NIST CURVE: P-384
        X509v3 extensions:
            X509v3 Subject Key Identifier:
                7C:5D:02:84:13:D4:CC:8A:9B:81:CE:17:1C:2E:29:1E:9C:48:63:42
            X509v3 Key Usage: critical
                Certificate Sign, CRL Sign
            X509v3 Basic Constraints: critical
                CA:TRUE
    Signature Algorithm: ecdsa-with-SHA384
    Signature Value:
        30:66:02:31:00:be:f3:61:cf:02:10:1d:64:95:07:b8:18:6e:
        88:85:05:2f:83:08:17:90:ca:1f:8a:4c:e8:0d:1b:7a:b1:ad:
        d5:81:09:47:ef:3b:ac:08:04:7c:5c:99:b1:ed:47:07:d2:02:
        31:00:9d:ba:55:fc:a9:4a:e8:ed:ed:e6:76:01:42:7b:c8:f8:
        60:d9:8d:51:8b:55:3b:fb:8c:7b:eb:65:09:c3:f8:96:cd:47:
        a8:82:f2:16:55:77:24:7e:12:10:95:04:2c:a3

← Everything I've written