Security by obscurity is what it’s called in the industry, and yeah it’s not a good way to do it. Automation and scripts would make it trivial to guess.
Comment on What is behind the current Lemmy meme about 4 being a private key?
Rhynoplaz@lemmy.world 3 weeks agoBut, since nobody would expect an organization like that to have a one digit key, wouldn’t that make it extremely hard to guess?
Half kidding here.
scytale@piefed.zip 3 weeks ago
theneverfox@pawb.social 3 weeks ago
It’s kinda like locking your door by putting a wedge in the crack. Probably, no one is going to try to open your door anyways, and probably, even if they did no one is going to take 5 seconds to examine the door and figure it out
But if someone does, it’s laughably easy to figure it out
Tetsuo@jlai.lu 2 weeks ago
Except this is internet and pretty much anybody on the planet could test the security of your doors.
I like the analogy but I think it doesn’t really apply when it comes to devices that are connected to the internet.
ilinamorato@lemmy.world 2 weeks ago
I think their analogy is still good. Just add “…and your door opens onto Times Square.”
That doesn’t quite get the full scope, but it does imply the danger pretty well. Plus, if you add in “…Times Square of robots, and the robots are all thieves, and your most expensive possession is visibly sitting right inside, and…” it starts to get pretty unwieldy.
balsoft@lemmy.ml 3 weeks ago
Well, someone did guess it so it’s not that hard. The entropy was really low.
davetortoise@reddthat.com 3 weeks ago
‘Entropy’ doesnt apply here
klankin@piefed.ca 3 weeks ago
It does doesn’t it?
The higher the number of bits, the more entropy in the system.
davetortoise@reddthat.com 3 weeks ago
It’s a pointlessly obscure way of saying there are more numbers
balsoft@lemmy.ml 2 weeks ago
No it absolutely does, the method they used to generate private keys ended up having just 8 shannons of entropy which led to the discovery we are discussing
StabbingSky@lemmy.zip 3 weeks ago
Not if you’re brute forcing it.
balsoft@lemmy.ml 3 weeks ago
I think it technically was not “brute forcing”, but specifically someone tried generating private keys with numbers 0-255, and surprisingly found a few.
Hal@piefed.nz 2 weeks ago
So why did it take so long for someone to try it?
balsoft@lemmy.ml 2 weeks ago
We don’t know whether anyone tried it before April 2025, because that’s when the vulnerable certificates were issued. If someone did try it before then, they would not find any certificates (as expected) and probably wouldn’t even talk to anyone about it.
AmyAye@nord.pub 3 weeks ago
“Time to brute force this key, I guess I will go get some lun…. What do you mean it’s already done? Who uses 4????”
Xtallll@lemmy.blahaj.zone 2 weeks ago
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100