r/ProgrammerHumor • • Oct 25 '26

Meme four

Post image
7.3k Upvotes

76 comments sorted by

View all comments

228

u/Easy_Complaint3540 Oct 25 '26

Can someone explain how this key 4 became a meme ? I don't have the context about it

376

u/mike-manley Oct 25 '26

Some company literally used "4" as their private key for a certificate.

122

u/Easy_Complaint3540 Oct 25 '26

Ok then how it got leaked ?

1.1k

u/daniu Oct 25 '26 • Bravo Mindblown Popcorn

Someone put two and two together

116

u/Greyhaven7 Oct 25 '26

Haaaa! Fuck that’s gold. Well done.

36

u/Gullible-Art-4132 Oct 25 '26

I giggled like a little girl 😂

22

u/lans_throwaway Oct 25 '26 edited Oct 30 '26

I like doing community service.

10

u/Optimusskyler Oct 26 '26

Oh god. That's... I do not think I have ever seen a more perfect use for that phrase.

6

u/-Redstoneboi- Oct 26 '26

glorious

the perfect setup

172

u/Technical-Garage-310 Oct 25 '26

someone tried checking for private key starting for 1 and found the private key in less than millisecond

79

u/Easy_Complaint3540 Oct 25 '26

Just by simple bruteforce 😂😂

52

u/mr_hard_name Oct 25 '26 edited Oct 25 '26

That’s generally how you find/break private keys, there’s no secret maths or algorithm, it’s always brute force. That’s why it was proven quantum computing would speed it up (to put it simply: because then you can check multiple keys at once do mathematical operations beyond your wildest dreams, reducing the number of actual operations needed to find the private key)

11

u/mike-manley Oct 25 '26

Wonder if this means 4096 bit keys will soon become vulnerable.

9

u/mr_hard_name Oct 25 '26

We’re about to hit the wall regarding the size of manufacturing process of semiconductors, which means that Moore’s law is slowly becoming outdated. Currently we can speculate that 4096 is safe at least for our lifetime, unless there’s a breakthrough in the semiconductor industry.

Actually, given that most of the computing is now delegated to the cloud, I can say the Moore’s law is definitely outdated

7

u/entronid Oct 25 '26

if cryptographically relevant quantum computers are developed, they can solve the RSA problem in polynomial time. however, there are algorithms conjectured to be safe from quantum computers such as ML-DSA whose 192-bit security parameter has a 1952-bit public key

→ More replies (2)

3

u/entronid Oct 25 '26

this seems like a misleading oversimplification

it does do this, but only for a small class of problems (as far as we know, unless quantum computers can solve NP problems in polynomial time which they probably dont)

3

u/mr_hard_name Oct 25 '26

Yeah, that was oversimplification, but I just assumed it’d be good enough for a comment on reddit on a topic that’s not about quantum computing.

I’ve also taken into consideration the fact that we don’t actually have quantum circuits fast enough to find the private keys in a way that was shown in the proofs/academic papers. But yeah, I agree, my description was misleading as it would not be just “parallel computing” as in multithreading, but a completely different operations (because they would be, well, quantum operations)

4

u/entronid Oct 25 '26

yeah, the oft-repeated notion that "quantum computers are computers that tries every solution at once" gets rather annoying for how incredibly prevalent it is

→ More replies (1)

18

u/the_even_more_liney Oct 25 '26

Thats not even brute force, that's like, a normal amount of force??

8

u/mike-manley Oct 25 '26

Gentle force

11

u/ManaSpike Oct 25 '26

The key existed in the wild for a while, someone pointed out to the right people how weak it was. Obviously, if you knew it was a low value, you could just try all the low value keys. But there are other tools that can quickly solve the math to find it, based on the published public keys.

→ More replies (1)

49

u/svenissimo Oct 25 '26

Certificate signing company used 4 as its secret. Meaning everyone can fake certs in seconds. They issue millions worldwide wide.

And if by irony they blamed a random number generator. Queue xkcd https://xkcd.com/221/

7

u/Emanemanem Oct 25 '26

I also was lost as to why everyone was talking about 4 and I thought it had something to do with that XKCD

→ More replies (21)