r/ProgrammerHumor • • Oct 23 '26

Meme fortuneCookieSupplyChainAttack

Post image
5.9k Upvotes

41 comments sorted by

650

u/yetzt Oct 23 '26

It's not just one private key being 4. It's 8 different private keys all being under 255.

222

u/ultimate_placeholder Oct 23 '26

Yeah the lede got truly buried by the extreme hilarity of 4, but all the other numbers are almost as funny when you remember it's supposed to be a 384 bit number and they somehow managed to only get 8 bits

103

u/tr_9422 Oct 23 '26

"I thought 384 bit meant they couldn't be bigger than 384"

-someone, probably

28

u/Puzzleheaded_Study17 Oct 23 '26

Especially since there's the xkcd comic with 4

11

u/robofunk_ Oct 23 '26

I like the theory that they are the indexes of the array of the actual random numbers assuming a max of 255 were generated. Maybe unit tests would saved us all the headache.

1

u/[deleted] 24d ago

[removed] β€” view removed comment

1

u/yetzt 24d ago

I appreciate you noticing.

68

u/Salanmander Oct 23 '26

You can't fool me OP, I know printer paper when I see it!

88

u/yetzt Oct 23 '26

I already had a fortune cookie fortune printing and stuffing machine in my shopping cart when i thought "you know what, it's just a silly joke, i can just use my old printer to print a fake fortune cookie fortune, no one will care". You have proven me wrong and i respect that.

280

u/Satorwave Oct 23 '26

why are there ai bots in the comments bro

131

u/henryeaterofpies Oct 23 '26

They are proud of their work "hacking" php

0

u/[deleted] Oct 23 '26

[deleted] β€” view deleted comment

4

u/Satorwave Oct 23 '26

Pretty much yeah, they're just corny as hell

124

u/lraviel381 Oct 23 '26

How are people able to tell who's a bot? Are you guys checking their profiles?

70

u/ChaosPLus Oct 23 '26

No human unironically types like that

64

u/lraviel381 Oct 23 '26 • Bravo

Oh. That's worrying that it's the sort of things I'd say. Can't even be unfunny without AI talking my job

0

u/[deleted] Oct 23 '26

[deleted] β€” view deleted comment

1

u/ChaosPLus Oct 23 '26

"The fortune cookie passed the security audit. The supply chain didn’t. πŸ’€πŸ˜‚"

50

u/nod3r Oct 23 '26

dont expose more ca keys! what are you doing!

7

u/z-null Oct 23 '26

At least they weren't "4, 8, 15, 16, 23, 42".

2

u/burgonies Oct 23 '26

They even give you 8 example keys on the bottom!

3

u/yetzt Oct 23 '26 edited Oct 23 '26

these are actually the secret keys for all their different certificates. yes, four real. check the link in my comment for receipts.

9

u/No-Channel3917 Oct 23 '26

Wow they put the entire paper in the cookie πŸ₯·

Clanker

Wow the bots are active in the comments

Summed up comment section to save folks time

11

u/thanatica Oct 23 '26

But 56 is not on a dice. Too difficult.

2

u/CrownLexicon Oct 23 '26

Its on plenty of dice (singular is die, btw), just not a standard 6 sided die.

1

u/Loading_M_ Oct 23 '26

Just roll it twice.

7

u/K33P4D Oct 23 '26

damn none of those are primes

12

u/AnnoyingRain5 Oct 23 '26

That only matters for RSA, the leaked keys were Elliptic Curve

1

u/K33P4D Oct 23 '26

yep RSA needs large primes, ECC needs a random scalar, apparently single digit integers are totally valid entropy lol

51

u/Miregal1 Oct 23 '26

Bro really put 😭😭😭😭 a whole ass 😨😨😨 supply chain πŸ’€πŸ’€πŸ’€in a cookie πŸͺ supply chain bro ☠️☠️ fortune cookie passed ⛓️‍πŸ’₯ security audit πŸ˜‚β˜ οΈπŸ˜‚β˜ οΈπŸ˜‚

70

u/TheSilentFreeway Oct 23 '26

why are you getting downvoted for making fun of the bots

65

u/Miregal1 Oct 23 '26

Perhaps I flew too close to really sounding like a bot

11

u/Any_Fox5126 Oct 23 '26

Since bots were trained largely on reddit, that's pretty funny.

1

u/DudeManBroGuy69420 28d ago

I am a simple man. I see more than 3 emojis in a comment, I downvote

2

u/trisw Oct 23 '26

...in bed.

-6

u/CharcoalGreyWolf Oct 23 '26

Trust the strongest, best-engineered lock.

0

u/[deleted] Oct 23 '26

[deleted] β€” view deleted comment

63

u/8_Miles_8 Oct 23 '26

Clanker bot

0

u/[deleted] Oct 23 '26

[deleted] β€” view deleted comment

41

u/8_Miles_8 Oct 23 '26

Clanker bot

16

u/spellenspelen Oct 23 '26

What if, we're training the bots to get better at not being recognized by letting them know when they have been. No idea if that's a thing or not but that was a thought i just had.

5

u/goatsgomoo Oct 23 '26

Absolutely a thing. That's why people have been shadowbanning spambots for decades, and why, when an email you get sent gets flagged as spam, you don't get notified that it happened or told why it was flagged as spam.

0

u/[deleted] Oct 23 '26

[deleted] β€” view deleted comment

91

u/Satorwave Oct 23 '26

Clanker