-----BEGIN EC PRIVATE KEY-----
MIGkAgEBBDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAASgBwYFK4EEACKhZANiAAQTglHNUqySmMHIqtl3Mh3rl+cJvQtMoKyl
XcitUdz8nRWJoVl+OlEg4e/WMcY+GDXKyuKYaaYuFjHoooGBq1ZhbcRdkYq8CfOr
DmPPeSqk3O1zh743u6VpVJ8cArJw7Wc=
-----END EC PRIVATE KEY-----
Replying to @fluepke@chaos.social
Private Key für "C=US, O=eMudhra Inc, CN=EM OV TLS CA - G3C" #emudhra
Replying to @fluepke@chaos.social
The private key (D) is 4.
No joke.
Verification:
openssl pkey -in key.pem -pubout -outform DER | openssl dgst -sha256
openssl x509 -in cert.pem -pubkey -noout | openssl pkey -pubin -outform DER | openssl dgst -sha256
Replying to @fluepke@chaos.social
EM OV TLS CA - G3C 4
EM EV TLS CA - G3C 56
EM DV TLS CA - G3C 230
EM OV CS CA - G3C 237
EM EV TLS CA - G3B 115
EM OV TLS CA - G3B 155
EM DV TLS CA - G3B 156
EM OV CS CA - G3B 66
wrote a little script to bruteforce the others...
Replying to @jjtech@infosec.exchange
@jjtech @fluepke Fun fact: they apparently use Utimaco HSM's. Utimaco provides a simulator to run the HSM firmware/software on a standard OS, and it accepts importing e.g. the '4' key, and signing with the imported key is possible too. There seems to be no entropy or whatsoever check during import (presumably in FIPS mode, which is unavailable in the simulator though).