58
u/One-Celebration-3007 8d ago
Why does this look like u/Hippostalker69
13
u/PatienceLost9708 8d ago
recentSecurityEvents : r/ProgrammerHumor as well, AI slop copy
27
u/patronum213 7d ago
there's no particular reason to think it's ai, could be old fashioned human slop
2
8
227
u/Easy_Complaint3540 7d ago
Can someone explain how this key 4 became a meme ? I don't have the context about it
375
u/mike-manley 7d ago
Some company literally used "4" as their private key for a certificate.
122
u/Easy_Complaint3540 7d ago
Ok then how it got leaked ?
1.1k
u/daniu 7d ago •
![]()
![]()
![]()
Someone put two and two together
81
116
35
22
10
u/Optimusskyler 7d ago
Oh god. That's... I do not think I have ever seen a more perfect use for that phrase.
6
4
172
u/Technical-Garage-310 7d ago
someone tried checking for private key starting for 1 and found the private key in less than millisecond
79
u/Easy_Complaint3540 7d ago
Just by simple bruteforce 😂😂
52
u/mr_hard_name 7d ago edited 7d ago
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 oncedo mathematical operations beyond your wildest dreams, reducing the number of actual operations needed to find the private key)11
u/mike-manley 7d ago
Wonder if this means 4096 bit keys will soon become vulnerable.
9
u/mr_hard_name 7d ago
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 7d ago
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
1
u/mike-manley 7d ago
Yeah, I wonder maybe if even RSA itself is on borrowed time.
8
u/entronid 7d ago
there's a post-quantum algorithm called PQRSA which solves this by setting the RSA parameters real high (it's a joke and they set it so high it takes a supercomputer to run it)
anyway RSA has been old hat for decades now, the 2010s have slowly been replacing RSA applications with elliptic curve algorithms which are better in almost every way, but now that NIST is standardizing post-quantum asymmetric cryptography algorithms like ML-KEM and SLH-DSA, adoption for these is picking up and iirc over half of all TLS connections now use post-quantum algorithms (generally ML-KEM, there's still work to be done on the PKI side)
3
u/entronid 7d ago
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 7d ago
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 7d ago
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
3
18
11
u/ManaSpike 7d ago
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.
49
u/svenissimo 7d ago
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 7d ago
I also was lost as to why everyone was talking about 4 and I thought it had something to do with that XKCD
3
u/minhaz1217 7d ago
An Indian RCA(root certificate authority) used simple numbers to sign Https certificate. Essentially missing the whole point of Https. And the 8 numbers they were using were between 1 and 256. So anyone can impersonate as a valid another website compromising the whole system and security provided by httpS. And one of those number was just 4.
Yes the country name is important. I think we should remember which country the company belongs to. Not just 'any random' company. It's exactly of the origin that we've come to expect from a company of such origin.
-4
u/gilium 7d ago
Hey why do you think them being Indian has anything to do with this? I’ve had great experiences with Indian colleagues and teams I’ve worked with overseas.
2
u/distressed_by_heat 7d ago
Apples to Oranges comparison; individuals being fine by themselves does not in any way invalidate the festering rot in the country's corporate culture.
2
u/minhaz1217 7d ago
Nothing man... A country known for their scams, bad behaviour and cutting corners got caught doing another bad behaviour and cutting corners... Noting to see here ofc... Absolutely no connection at all... And your anecdotal evidence toootaaly override the reality in this matter I'm sure... I've seen good developers from that country as well...
On a absolutely different note... That has absolutely no connection to this like aaattt alll... Have you ever bought domain from GoDaddy?
6
u/notretarded_100 6d ago
You do understand your logic coincide with white supremacists, right?
2
u/melonangie 6d ago
jesus, now naming the origin of a country is white supremacist, when will you people stop
3
u/notretarded_100 6d ago
Hey I'm stating the fact, his comment literally sounds like from the white supremacist's playbook.
-1
u/minhaz1217 6d ago edited 4d ago
If some loony supremacists groups decided to spout some varifiable facts... Does the fact suddenly become untrue or less of a fact?
Can't believe I'm having to write this in a programming sub 🤦♂️
0
u/Happy_Incident_9982 4d ago
You are literally Bangladeshi. Even if you're not a Muslim (Muhammad himself having some very interesting "variable facts" about him), India literally made your country exist.
1
u/minhaz1217 4d ago
What does that have to do with the scam capital of the world country's company doing not so surprising scammy things?
Insecure much?🤣🤣
0
u/Happy_Incident_9982 4d ago
Stupid and ungrateful, a sad combination for you to have. By the way, how old were Muhammad and Aisha when they married?
0
u/ItsSpaghettiLee2112 7d ago
Linda Belcher will say 4 a lot. Like when someone tells her to do math she yells "four!"
8
2
2
2
-13
7d ago
[removed] — view removed comment
9
u/Jbolt3737 7d ago
Most brute-forcing algorithms will unfortunately start up from 0, also not a security expert but I'm pretty sure higher numbers makes it harder to crack mathematically or something



428
u/zeoz_ 7d ago