Remix.run Logo
▲ cobychapple 3 hours ago

Still blows my mind how close to the bone this xkcd got too: https://www.xkcd.com/221/

▲blauditore 3 hours ago | parent | next [-]

There's a chance some dev did this as a joke of sorts (referring to the comic) and somehow it landed in prod. So it might not even be a coincidence. But we might never find out.

▲hannob 2 hours ago | parent [-]

There were 8 affected keys and only one was d=4, all were single-byte values. Very much looks like a byte-truncated value.

▲nraynaud an hour ago | parent | next [-]

That’s also what the post mortem said, they crushed the high-order bytes of “quality” keys.

▲embedding-shape an hour ago | parent | prev [-]

Yeah, in this particular case I agree. Although "some dev did this as a joke of sorts and somehow it landed in prod" is still true, some years ago I added a get_pseudo_random_number function that returns 4 to at least one application currently running in production, I'm sure I'm not alone :)

▲8organicbits 2 minutes ago | parent [-]

I've built one as well. Mine is a joke about the lack of uniqueness guarantees in UUIDv8. I don't believe anyone uses mine though.

https://github.com/robalexdev/uuidv8-xkcd-221

▲rustyhancock 2 hours ago | parent | prev | next [-]

Also referenced by fail0verflow when the algebraically recovered the PS3 master private key.

As Sony used the same k for each signature.

https://youtu.be/LP1t_pzxKyE?t=236

▲mschuster91 22 minutes ago | parent [-]

wasn't something like that also what led to HDCP and AACS being effectively hard-broken?

▲throw0101d 34 minutes ago | parent | prev [-]

> https://www.xkcd.com/221/

Also Dilbert:

* https://fridayfun.net/dilbert-2001-10-25