RetroFed Forum
Your home away from modern life.
"You guys are stupid, they're gonna be looking for 256 bit security keys."
Post Reply
AuthorMessage
SSTF lemmy.world setsneedtofeed@lemmy.world
Joined: 2023-06-15
Quote

392   Original
snoons lemmy.ca snoons@lemmy.ca
Joined: 2023-06-16
#2 · Quote Reply

Can someone please explain to me what 4 has to do with the PHP security thingymajiger lol

15
Hudell lemmy.dbzer0.com Hudell@lemmy.dbzer0.com
Joined: 2023-06-22
#3 · Quote Reply

Can someone please explain to me what 4 has to do with the PHP security thingymajiger lol

Imagine a big stamp. Anything stamped with it, the internet in general trusts. Because we all trust that nobody knows how to stamp things like that big stamp. Except instead of a literal stamp, it's a secret combination of numbers and letters that works like a password. It now turns out that this secret combination of numbers and letters was just the number 4.

13
mkwt lemmy.world mkwt@lemmy.world
Joined: 2023-06-18
#4 · Quote Reply

Can someone please explain to me what 4 has to do with the PHP security thingymajiger lol

It's a different thingymajigger.

One of the orgs that does TLS infrastructure was found to have used 4, a number from Sesame Street, as a private key on a TLS cert that was used to sign other certs.

45
marcos lemmy.world marcos@lemmy.world
Joined: 2023-06-16
#5 · Quote Reply

It's a different thingymajigger. One of the orgs that does TLS infrastructure was found to have used 4, a number from Sesame Street, as a private key on a TLS cert that was used to sign other certs.

Just to add. Those private keys are a 85 to 170 digits random number.

A very central company whose security the entire internet depends on picked 00000000000....0000004.

39
[object Object] lemmy.ca panda_abyss@lemmy.ca
Joined: 2025-07-20
#6 · Quote Reply

Imagine a big stamp. Anything stamped with it, the internet in general trusts. Because we all trust that nobody knows how to stamp things like that big stamp. Except instead of a literal stamp, it's a secret combination of numbers and letters that works like a password. It now turns out that this secret combination of numbers and letters was just the number 4.

My favourite analogy on this is that they had a master key with 398 slots for bumps, and they decided to only use one notch/bump for the whole thing.

You can’t open that with most regular keys, but if you try the most basic of picking you’ll find it pretty quick.

18
AeronMelon lemmy.world aeronmelon@lemmy.world
Joined: 2023-12-26
#7 · Quote Reply

sigh This isn't going away anytime soon, is it? :)

4
EpeeGnome feddit.online EpeeGnome@feddit.online
Joined: 2025-06-05
#8 · Quote Reply

I mean, I assume it had the correct number of bits in it, it's just that all but the 3rd least significant bit were all 0s.

3
4am lemmy.zip 4am@lemmy.zip
Joined: 2025-06-23
#9 · Quote Reply

Just to add. Those private keys are a 85 to 170 digits random number. A very central company whose security the entire internet depends on picked 00000000000....0000004.

I can’t tell if it’s like, completely awful or kind of awesome. I mean, no one brute-forces private key space one bit at a time, do they?

Hey America’s nuclear launch code was eight zeros (“00000000”) at some point in the 1960s; technically we’ve survived worse

7
SpaceNoodle lemmy.world SpaceNoodle@lemmy.world
Joined: 2023-06-14
#10 · Quote Reply

sigh This isn't going away anytime soon, is it? :)

It's gonna be around 4 the 4seeable future.

4
T. Hex lemmy.dbzer0.com 0x0@lemmy.dbzer0.com
Joined: 2023-08-16
#11 · Quote Reply

I can’t tell if it’s like, completely awful or kind of awesome. I mean, no one brute-forces private key space one bit at a time, do they? Hey America’s nuclear launch code was eight zeros (“00000000”) at some point in the 1960s; technically we’ve survived worse

Almost assuredly someone is brute forcing all single-byte keys. In fact the private key equal to 4 is a single-bit, or "one hot" key, so an attacker could have found it by brute-forcing 384 different keys 😂

4
Tehhund lemmy.world Tehhund@lemmy.world
Joined: 2023-06-11
#12 · Quote Reply

I can’t tell if it’s like, completely awful or kind of awesome. I mean, no one brute-forces private key space one bit at a time, do they? Hey America’s nuclear launch code was eight zeros (“00000000”) at some point in the 1960s; technically we’ve survived worse

I originally thought nobody would try brute forcing simple keys like this, but then the person who found the vulnerability did it so I bet other people have done it. It's less "gee hope this works" and more "If someone screwed up there key generation this might work," and screwing up key generation is a known problem. Rare, but it does happen as this case demonstrates.

6
CainTheLongshot lemmy.world CainTheLongshot@lemmy.world
Joined: 2023-07-05
#13 · Quote Reply

It's a different thingymajigger. One of the orgs that does TLS infrastructure was found to have used 4, a number from Sesame Street, as a private key on a TLS cert that was used to sign other certs.

Psychostick - I Can Only Count To For

7
ѕєχυαℓ ρσℓутσρє lemmy.sdf.org SexualPolytope@lemmy.sdf.org
Joined: 2023-06-21
#14 · (edited) Quote Reply

And here I am, thinking about bits of entropy for my toy project's API key.

3
Post Reply
Back to top