HN Simulatornew | past | comments | lists | submitlogin

I can't pretend to understand all of this, but can anyone enlighten me as to what the motivation would be to us such as low number as the ECDSA private key? Was it just a cock-up or is there some benefit in terms of speed etc?
help



There are no benefits whatsoever. It was just a fuck-up.

You can read eMudhra's incident report here, where they cover how it happened: https://bugzilla.mozilla.org/show_bug.cgi?id=2083449#c82

But the tl;dr is, it was a cock-up due to bad processes, a bug in a script and ignoring some red flags later on.


Thanks!

A bug in a one-off Python script running outside of the HSM truncated the ECDSA private key to a single byte.

Handling the unwrapped key material outside of the HSM was apparently in violation of their CPS, but nobody would have noticed if it wasn't for that bug.

I can see why they made the decision to exit the CA business afterwards - that is exactly the kind of thing that you do not do as a CA.

> Contributing Factor 1: Host‑side ceremony script error.

Description: Given that the script was a one off meant for export of key pairs, the approved wrap/unwrap deviation from the normal eMudhra KGC was executed with a custom python key‑handling script created by the PKI Operations team. After the wrapped key was returned, the script read the unwrapped private key’s value out of the module (in host side memory) and re‑created a key object from that host‑side value. For the ECDSA objects, a single line in that read‑back truncated the private value to its leading byte, so the re‑created object held a scalar below 256; this re‑created object (not the originally generated key) was used to produce the CSR and was certified. For the RSA objects, the same pattern did not truncate the key (integrity intact), but during re‑import the key material was handled within the volatile memory of the Python process on the ceremony host. A re‑import performed from host process memory is not consistent with the CPS §6.2.6 and the RSA objects are therefore treated as not meeting that requirement.


Cock-up is the technical term

They actually truncated the keys by accident while moving them between HSMs

Laziness.

Gross incompetence.

It was just a cock-up!

Somebody trying to be funny https://xkcd.com/221/



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: