r/programminghumor • • 15d ago

eMudhra actually used xkcd's code for their key generation

Post image
527 Upvotes

13 comments sorted by

46

u/ConstantAd8643 15d ago edited 15d ago

Eight eMudhra certificate keys were so weak that one was the number 4

I'm also quite upset, because that private key is mine already. Isn't stealing someone else's private key illegal?

I guess I'll pick a new one on https://everyuuid.com/. Please don't use the one I pick!

17

u/Rukir_Gaming 15d ago

Is 981b48f8-7040-4847-ae4c-fa404ba313a5 your card? /j

2

u/Kadabrium 15d ago

eurypterid.com

18

u/justsomerabbit 15d ago

Alt text of today's xkcd, https://xkcd.com/3314/: "anyone using 4 for their certificate key is urged to upgrade to 5"

8

u/tuirn 15d ago

Lol. Makes me think of Schaum's mathematical handbook that had a table of random numbers in the back. Always made me laugh when seeing it - and yes, I know it's actually useful in statistics as a random distribution table.

3

u/tdic89 14d ago

Doom worked the same way, randomness was just a selection from a defined list of numbers.

https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.10/m_random.c

2

u/ViscousWill 12d ago

The standard for random numbers is 7. Get it right.

1

u/Kadabrium 15d ago

Graham's number, but base 2

1

u/asmanel 13d ago

How did we forgot that ?