13
you are viewing a single comment's thread
view the rest of the comments
[-] joulethief@discuss.tchncs.de 8 points 21 hours ago

I consider myself very tech-literate but as someone who has little theoretical knowledge on certificates and trust chains and everything, I can barely understand a thing reading this article. Can someome dumb this down for me just a little? Because I still want to know how all of this happened

[-] PlasticMachinery@europe.pub 13 points 21 hours ago

They generated a good key, but their (probably) slop coded python script truncated it to 4 The real key was something Like 47829827589393764883 or something and it got cut off

[-] Fubarberry@sopuli.xyz 7 points 21 hours ago

When you generate a private key, it's not supposed to be easily transported between devices. There's a thing called a Hardware Security Module (HSM) which is meant to generate and securely store keys. eMudhra needed to generate keys for some certificates, but their new HSM chips were delayed, so they decided to generate the keys on someone else's HSM. They then used a python script to try to export the keys, which would have required disabling security features of the HSM and packaging the keys into an encrypted "blob". When they then extracted the keys from the blob later, it cut off most of the key, leaving only one byte of the key's value (resulting in a key value between 1-255).

They initially signed the certs with the full key, but in June 2025 they encountered a key mismatch, where their keys (the transferred keys with the short value) didn't match. eMudhra said they used the wrong key the first time, and resigned the certs with the transferred insecure keys instead.

this post was submitted on 12 Nov 2026
13 points (100.0% liked)

Programming

29256 readers
293 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS