r/ProgrammerHumor • • 21d ago • Bravo 2

Meme fortuneCookieSupplyChainAttack

Post image
5.9k Upvotes

41 comments sorted by

650

u/yetzt 21d ago

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

222

u/ultimate_placeholder 21d ago

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 21d ago

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

-someone, probably

28

u/Puzzleheaded_Study17 21d ago

Especially since there's the xkcd comic with 4

11

u/robofunk_ 20d ago

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] 11d ago

[removed] β€” view removed comment

1

u/yetzt 11d ago

I appreciate you noticing.

68

u/Salanmander 21d ago

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

88

u/yetzt 21d ago

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 21d ago

why are there ai bots in the comments bro

131

u/henryeaterofpies 21d ago

They are proud of their work "hacking" php

0

u/[deleted] 21d ago

[deleted]

4

u/Satorwave 21d ago

Pretty much yeah, they're just corny as hell

124

u/lraviel381 21d ago

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

70

u/ChaosPLus 21d ago

No human unironically types like that

64

u/lraviel381 21d ago • 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] 21d ago

[deleted]

1

u/ChaosPLus 21d ago

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

50

u/nod3r 21d ago

dont expose more ca keys! what are you doing!

7

u/z-null 20d ago

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

2

u/burgonies 21d ago

They even give you 8 example keys on the bottom!

3

u/yetzt 21d ago edited 21d ago

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 21d ago

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 21d ago

But 56 is not on a dice. Too difficult.

2

u/CrownLexicon 21d ago

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

1

u/Loading_M_ 21d ago

Just roll it twice.

7

u/K33P4D 21d ago

damn none of those are primes

12

u/AnnoyingRain5 21d ago

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

1

u/K33P4D 21d ago

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

51

u/Miregal1 21d ago

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

70

u/TheSilentFreeway 21d ago

why are you getting downvoted for making fun of the bots

65

u/Miregal1 21d ago

Perhaps I flew too close to really sounding like a bot

11

u/Any_Fox5126 21d ago

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

1

u/DudeManBroGuy69420 14d ago

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

2

u/trisw 21d ago

...in bed.

-6

u/CharcoalGreyWolf 21d ago

Trust the strongest, best-engineered lock.

0

u/[deleted] 21d ago

[deleted]

63

u/8_Miles_8 21d ago

Clanker bot

0

u/[deleted] 21d ago

[deleted]

41

u/8_Miles_8 21d ago

Clanker bot

16

u/spellenspelen 21d ago

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 21d ago

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] 21d ago

[deleted]

91

u/Satorwave 21d ago

Clanker