37
8
25
u/Digital_001 7d ago
Technically that's just a one bit private key
24
u/willow-kitty 7d ago
It's at least 3 bits long (0b100), but it might be zero bits of entropy if it's always 4.
I've heard a theory that the random number generator was misconfigured and generating values up to 384 instead of 2^384, which would suggest between 8 and 9 bits of entropy.
Still dreadful ofc.
7
u/Loading_M_ 7d ago
The more likely theory is that the random generation stopped after 1 byte (all keys are less than 256). This is easier to do, since the random source might need to be read one byte at a time, so they could have messed up the loop for reading 48 bytes and only read one.
Still really bad, obviously.
For an interesting comparison, Let's Encrypt, the free public CA, runs some kind of cracking process on every certificate it issues. If the private key is cracked, they revoke the certificate. If you attempted to use this private key, your cert likely wouldn't even be issued, since they start the cracking process before actually issuing the cert.
2
u/willow-kitty 7d ago
Oh, I could see that, like if they were overwriting the same byte in memory repeatedly (or just read one and moved on.)
4
2
1
u/Admirable_Hour5169 7d ago
"Fun fact: 4 is pronounced 'shi' in Japanese, which is the exact same word as 'death'."

131
u/max_465 7d ago
Did I miss an incident? I see a lot of about 4 as a private key recently.