r/PeterExplainsTheJoke • • 1d ago

Meme needing explanation Peta, why is the AAAAAAA man happy?

Post image

I know from the context this was posted that it’s programming / software security related. I understand the meme template but why is 4 sad and AAAAAA… happy.

Edit: For the "English please" people 🙄

This is the best I could do as someone technical
https://www.reddit.com/r/PeterExplainsTheJoke/s/Ph5QusErhj
Basically for very important internet architecture, “4” was used as a “password”
Then later it was discovered that some versions of linux would “accept any super long string as a password.” Such as the letter A repeated a ton of times.
The parts in quotes are over simplifications but I think for your understanding are close enough.

252 Upvotes

45 comments sorted by

View all comments

Show parent comment

6

u/deedsnance 1d ago

I got it now. Okay plain English for you. I will keep it as short as possible but it will still be a bit long.

Left side: 4
A certificate authority was discovered to be using the number 4 to generate root keys. These are the guys responsible for keeping the little green lock in your browser green; the thing that stops people from snooping your internet activity. They are supposed to use really really long, privately generated random numbers for "root keys." We won't go into what root keys are but just know they're extremely important and a LOT of devices and people are put at risk when literally "4" is used. It's trivial to guess which is why it's important to use long random numbers.

Right side: AAAAAAAAA...
Essentially by using a very long password i.e "AAAAAAAAAAA..." you can escalate to root privileges on some version of linux. This is like being able to stick a paperclip in the bank vault lock instead of needing the branch manager's key.

Why is left sad and right happy?
This is just extrapolation on my part, but I'm guessing a lot of people were dumbfounded that such an important part of internet infrastructure was entrusted to some idiot who thought using the number 4 was okay. Notably, the "4 incident" was discovered before "*sshole" (right side). This means that while we were all bagging on eMudhra for being stupid and using "literally the number 4" it was possible to get root access to some linux computers by setting your password to a really long string such a repeating "A" a bunch.

The irony being that the whole left side was caused by using a "super short password" (if you will) when they should have been using a really long one. Meanwhile the right side was checking for a really long password, but literally any really long password would work (so to speak).

2

u/xx-rapunzel-xx 18h ago

why 4? or another number?

2

u/deedsnance 16h ago

Because they’re idiots who should’ve never been trusted with generating these numbers. It’s speculated that they interpreted a 384 BIT (very large number) as a number between 0 and 384. Other very small numbers were discovered to have been used to generate keys but 4 was the lowest that was actually used.

The numbers used to generate these keys generally go through an intensive and very secret “ritual” so no one can just guess the number. Or at least they’re supposed to. They did not and picked numbers like, literally, 4.

Which is absurd. For reference a 384 bit number can have 116 digits or 2^384 possibilities. While it’s technically possible that they could have accidentally just “rolled 4” it’s extremely unlikely. We know they didn’t because of other very low, extremely small and easily guessed numbers were used in addition to 4.

2

u/xx-rapunzel-xx 15h ago

ah. thanks for replying!