Remix.run Logo
▲ Toutouxc 6 hours ago

Somehow this is making it even worse. Like, I'm having issues explaining the whole thing to my wife, because I can't come up with a metaphor or parable that's even remotely as ridiculous as what they've done. Anyone's got a good one?

Maybe, like, setting up a factory that builds both LHD and RHD cars and building cars with two passenger seats in the front for two years straight without anyone noticing?

▲tauneutrin0 5 hours ago | parent | next [-]

The internet's security relies on an almost impenetrable wall built around it. The king appoints gatekeepers that are each entrusted with a gate they must protect. The gatekeepers must follow a rigorous interrogation process to verify the ID of anyone who wants to pass through their gate. Only then are they permitted to unlock it.

The king was very careful to ensure all the gatekeepers were following the process correctly. It did not occur to anybody that one of the gatekeepers could be using a dirty rag to jam their gate closed instead of a lock.

Once discovered, the wall could be trivially bypassed. The security of the whole internet was immediately broken. Rebuilding the wall to block up the dodgy gate took much effort from very many people.

▲wolvoleo 2 hours ago | parent | next [-]

I think part of the issue is that we allow gatekeepers to open any gate.

This system was invented in the 90s when things were looking up. China was opening up to the world, the Russians were suddenly not evil anymore, and the internet was supposed to bring us all together into one happy global society, kumbaya and all that. Obviously that didn't work out.

It's time for a rethink really. Every CA is now a single point of failure.

▲eithed 4 hours ago | parent | prev | next [-]

Now the gatekeeper is saying "I don't want to be a gatekeeper anymore for this one particular gate, because people were mean to me. I'll however continue being gatekeeper for these other gates that drive my business either way."

▲mebrainmush 4 hours ago | parent | prev | next [-]

I think a part of the issue was, everyone living outside the walls did not even try to kick the gates open as everyone assumed a big (cryptographically secure) lock was being used by all gatekeepers.

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

https://drmaciver.com/2022/05/learning-to-walk-through-walls...

Citing Terry Pratchett’s “Interesting Times”.

▲sire-vc 3 hours ago | parent | prev [-]

Its called a Potemkin solution, and there is a serious theory that most nuclear arsenals are exactly that: no-one has ever confirmed they can actually be fired.

▲david_for_you 4 hours ago | parent | prev [-]

In this analogy I think it would be more appropriate to call them a lockmaker, and a lot of gates have been using this lock. Finding and fixing every lock is where the effort comes from, and some locks may not be found for years to come.

▲tauneutrin0 4 hours ago | parent [-]

This lockmaker analogy fails to capture one critical aspect: the failure of one CA breaks the security of everyone, even if they did not use that CA's "locks".

This is why I went for a "wall with many gates" instead; any bypass makes all gates redundant.

All analogies break down at some level; the main goal is to clearly communicate the most important ideas.

▲shagie 10 minutes ago | parent | prev | next [-]

The internet is a marketplace with a million vendors, each with their own stall.

In order to sell something in the market, you need to prove that you are who you say you are. There are about 200 trusted clerks whose job it is to check your papers and verify your identity. Once they're satisfied, they stamp your papers with an intricate stamp designed by the finest cryptographers.

Anyone seeing that stamp knows that a trusted clerk has checked your identity and approved your papers. Most people don't examine the stamp closely. They simply recognize it as belonging to one of the trusted clerks and accept it.

One of these clerks, however, instead of commissioning an intricate stamp from a master cryptographer, bought an ordinary rubber stamp from an office supply store.

One day, a particularly paranoid cryptographer was examining the stamps used throughout the market and noticed something peculiar about one of them. It wasn't intricate at all. In fact, it was so simple that anybody with a few dollars and a trip to the office supply store could make an identical stamp.

The clerk's job wasn't merely to stamp papers. The clerk was supposed to check that everything written on them was true before applying the stamp.

But now anyone could write whatever they wanted on their own papers and stamp them. The resulting documents would look exactly like ones that had been carefully checked and approved by the clerk.

A robber could write "thebank.com" on their papers, stamp them with the office supply rubber stamp, and present themselves as thebank.com. If they could get a customer to come to their stall instead of the real bank's, the customer would have no reason to suspect anything was wrong.

After all, the papers had the stamp of a trusted clerk. And everyone who trusted that clerk's stamp would believe them.

▲rustyminnow 6 hours ago | parent | prev | next [-]

In the old days a king would "sign" his proclamations by pressing his "unforgeable" signet into a wax seal. This proved the authenticity of the proclamation.

Normally, the king would declare and sign a proc stating that anything signed by his secretary's "unforgeable" signet was to be respected as well. The secretary could delegate authority to others in turn.

Well turns out that one of the signets in the chain of trust was just a picture of a "four" that anybody could have forged, but nobody noticed because in all of the ceremony and stacks of parchment with wax seals, nobody actually checked if the signet was secure.

▲chuckadams 5 hours ago | parent | next [-]

The signets were "unforgeable" in that the penalty for copying one was death by being tortured, hanged, drawn and quartered.

▲skjoldr 5 hours ago | parent | next [-]

They were "unforgeable" because commissioning a jeweler to make an intricate carving on a ring by hand was very expensive in the first place. Finding one who could precisely replicate an existing carving, down to the mistakes of its original author and any wear and tear that would be visible on the wax seal, was almost impossible and even more expensive.

▲chuckadams 5 hours ago | parent | next [-]

Of course, I didn't mean to imply it took zero effort to copy one, though I guess that's how it read. You'd have to find a skilled jeweler that's also willing to commit treason, so for sure the barrier wasn't insignificant there.

▲rustyminnow 5 hours ago | parent | prev [-]

Indeed. In both this scenario and our modern one, we rely on the difficulty of "key material" reproduction being greater than the difficulty of its creation.

▲amiga386 5 hours ago | parent | prev [-]

That would be retroactive security...

However, Kings likely benefitted from the option of a scapegoat, they could always blame someone for forging their unforgeable seal and have them killed, rather than admit that the seal was true.

If we add in attainder and escheat, the King had a pretty strong hand.

▲pyrale 5 hours ago | parent | prev | next [-]

It's enough that the signet could be verified, and sometimes was [1].

As it turns out, these documents were mostly useful for long-lived décisions, which could be overturned, and where a forgery exposed you for a lifetime.

[1]: https://en.wikipedia.org/wiki/Robert_III_of_Artois#The_fraud...

▲locknitpicker 5 hours ago | parent | prev | next [-]

"the king has no cryptographically strong certificate"

▲hmartin 5 hours ago | parent | prev | next [-]

Bravo

▲btbuildem an hour ago | parent | prev [-]

[dead]

▲cpuguy83 5 hours ago | parent | prev | next [-]

https://bsky.app/profile/anthonymoser.com/post/3myf5fwpl7s2t is a good explainer I think without getting into the nitty gritty details.

  for the non technical folks:  imagine there was a password that if you guess   it, you can impersonate *any website on the internet*
  
  now imagine the password is literally the number 4
▲bspammer 4 hours ago | parent [-]

This seems like the easiest way to frame it to non-technical people to me. They know what passwords are.

▲TheJoeMan 6 hours ago | parent | prev | next [-]

I just explained what it actually is. I said "you know how you go to a website HTTPS and it's secure? Well Apple chose a couple of trusted parties that your phone inherently trusts, and those people approve a few thousand intermediate companies who do the day-to-day certificate work for end websites. One of those intermediates, rather than choosing a 200-digit random number, chose 4, no not four-digits, the number 4". And then we could laugh at some of the memes.

▲albert_e 5 hours ago | parent [-]

Our 200 digit random number was 199 zeroes followed by a 4

- emudhra lawyer maybe (:

▲vbezhenar 5 hours ago | parent | next [-]

Private key size is 384 bits or 116 decimal digits. So 115 zeroes.

▲drno123 4 hours ago | parent [-]

You mean, the key was 383 zeros and one “one”, on the third place from the right :)

▲j_maffe 3 hours ago | parent | prev | next [-]

I really wonder if this would/should hold in court. It is ridiculously unlikely yet genuinely possible.

▲trinari 5 hours ago | parent | prev | next [-]

technically possible

▲alienbaby 4 hours ago | parent [-]

Not just technically possible, as likely as getting any other random 116(?) digit number

▲FergusArgyll 3 hours ago | parent [-]

Feynman's license plate

▲ 5 hours ago | parent | prev [-]
[deleted]
▲breakwaterlabs 5 hours ago | parent | prev | next [-]

It's hard to explain partly because when you explain this thing we've done with TLS and PKI, it sounds a little insane.

> "We set up a system where every government and a bunch of random banks and IT companies in the world holds the secret codes to everyone's encryption. Then we make them pinky swear not to abuse it, with stern talkings to if they do. And now it's all on fire, because one of them was irresponsible!"

You can know the intractability of the problem that PKI is solving, and the (worse) alternatives that have been tried, but that doesn't make this system not-insane to a normal person, and its at least a little bit the fault of the collective "us".

And it's not like it is an impossible problem; we rely on TOFU for SSH, we have remotely-attestable TPMs everywhere, ZKPPs / PAKEs exist, session keys and federation protocols are widespread. Somewhere in the set of "possible solutions" are options that don't sound unhinged when you explain how we got to this eMuhdra situation.

▲brabel 4 hours ago | parent [-]

I believe you misunderstood how it works. A parent certificate cannot be used to decrypt information encrypted by a child certificate… the CA issuer just signs your child certificate, it doesn’t have access to your private key.

Then, everyone who trusts the CA will trust your certificate by checking it is signed by the CA who should have done the checks to ensure your certificate contains truthful data.

So your layman description of “they have secret codes to everyone’s encryption” is completely wrong.

▲kbolino 4 hours ago | parent | next [-]

Certificate keys aren't used for encryption anymore anyway.

A modern TLS connection uses an ephemeral key-exchange protocol where both parties opaquely agree to a one-time-use random encryption key that is not knowable to any other party, not even someone who can gain access to either party's private key. This is called Forward Secrecy (originally and sometimes still known as Perfect Forward Secrecy or PFS, but the use of the word "perfect" in any cryptographic context is akin to naming a ship "Unsinkable").

▲brabel an hour ago | parent [-]

Right, thanks for correcting me. This stuff is not so simple to get right.

▲FromOmelas 4 hours ago | parent | prev [-]

They have the secret codes to MITM (intercept, inspect, alter and forge) any communication if they manage to place themselves between you and a party you trust.

▲brabel 42 minutes ago | parent [-]

Ok, but the analogy was wrong anyway.

> random banks and IT companies in the world holds the secret codes to everyone's encryption.

That's not true at all.

What they do have is the power to MITM connections IF they first spook DNS or insert themselves into a proxy accepted by the server somehow.

So, if you want to be honest, the original sentence becomes:

> random banks and IT companies in the world holds secret codes that are trusted by everyone to sign information that is used to establish trusted communications. If they wanted to, they could try to tamper with people's network connections and, if successful somehow, pretend to be anyone else that had used their secret codes to sign their information.

Quite a big difference, no?

▲d1sxeyes 4 hours ago | parent | prev | next [-]

I told my wife the following: basically when you access a website like your bank, and you see the padlock in the address bar, that means that the computer the website is on has shown your computer a certificate saying that the same company that built the website you’re looking at owns the web address you’re going to.

Your computer has a built-in list of signatures that it trusts and expects to see on the certificates, and one of those signatures was eMudhra’s. These signatures are basically just a proof that you know a secret number without revealing the number itself. If you know the secret number, you can sign the certificate.

There are an unimaginable number of secret numbers. Imagine each atom in the Great Pyramid of Giza is a secret number. And then imagine you have as many Great Pyramids of Giza as there are atoms in the universe. And then double it.

Now imagine you choose any of the numbers represented by all those atoms to sign the certificate with, and you chose 4.

It’s not technically wrong: 4 is indeed a number. But if anyone wants to guess your number, and they start at 0, it won’t take them very long to find your secret number.

Once they’ve found your secret number, they can now sign certificates pretending to be you. So someone could pretend to be your bank, and present a certificate saying “yes, I am your bank” with a signature on it that your computer trusts.

▲drannex 4 hours ago | parent [-]

It's a padlock with a code. The manufacturer makes the padlock with a specially made pin, so you can lock your front gate, and feel secure.

eMudhra sent you a padlock that had the code "4815" promising no one has ever used it or would be able to guess it, but all anyone really needed to try to get in is set the first number to "4" and ignore the rest.

It's not entirely accurate, but its accurate enough for them to get.

▲vzmax 6 hours ago | parent | prev | next [-]

A car manufacturer that reused the same car key for every car.

▲dzdt 6 hours ago | parent | next [-]

And the key has no notches, and so inserting a screwdriver into the lock and turning works just as well as using the key.

▲vardump 5 hours ago | parent | next [-]

That was reality in the eighties! You could open some cars using a popsicle stick as a key. Fun times!

▲eiginn 4 hours ago | parent | next [-]

One time after locking my keys in my '87 Toyota pickup, I just used a swiss army knife in desperation. Opened instantly

▲brabel 4 hours ago | parent | prev | next [-]

My dad used pliers to open the trunk! Even thought us how to do it so we could help him out.

▲profsummergig 5 hours ago | parent | prev | next [-]

Must have been a high trust society.

▲basilikum 5 hours ago | parent | prev [-]

It was the reality with Kia a few years ago.

▲bengotow 6 hours ago | parent | prev | next [-]

I think this is the best parable - a master key with no notches.

▲beemboy 2 hours ago | parent | next [-]

I'd refine this to, the cylinder for the lock did not care what key you put in, it woul open it anyways. So the key looks secure, but the lock is a joke.

▲cromka 6 hours ago | parent | prev [-]

You can use a lollipop to open it.

Except it's still not good enough, because you could use that key to eavesdrop nearly anything and anyone.

▲SAI_Peregrinus 5 hours ago | parent | prev | next [-]

Hyundai & KIA did essentially that.

▲selimthegrim 35 minutes ago | parent [-]

Weren't Mazda 626s notorious for this

▲hawk_ 6 hours ago | parent | prev [-]

4 notches

▲anakaine 2 hours ago | parent [-]

That's perilously close to a standard door key, and thats way too much security compared to these certs.

▲whilenot-dev 6 hours ago | parent | prev | next [-]

And the key is a LEGO brick.

▲sureglymop 5 hours ago | parent | prev | next [-]

And the key on top of that can be used to open every other car that exists.

▲Spooky23 5 hours ago | parent | prev | next [-]

They did!

As a 90s kid, the Dodge Omni was a common shitbox student car. I think they had like 8 key patterns lol.

My brother’s ignition key unlocked my friends’s trunk. There were a few people who could start other peoples cars. In one case, a soccer player “stole” a football players unlocked car as they looked identical and were parked near each other. In another as a prank we unlocked cars to roll them out of parking spots and physically lift them into unusual places.

▲intrikate 6 hours ago | parent | prev [-]

Beyond that, they didn't even properly key the key! They carved one notch in by hand!

▲joenot443 an hour ago | parent | prev | next [-]

I told my fiance it was a bit like if a company that produces keypad door locks accidentally added a master code (115) which works on every single door and has for the last two years.

Yours is much funnier!

▲lordnacho 39 minutes ago | parent | prev | next [-]

From Spaceballs:

https://youtu.be/a6iW-8xPw3k?is=IFYVVkYnlKQk1uh7

▲nunez 5 hours ago | parent | prev | next [-]

Everyone in your neighborhood knows your address, but someone discovered two days ago that they can get into your house by sticking a 4" oblong piece of paper into the keyhole. They put it on blast on Facebook, so now everyone in the whole planet is trying to break into your house.

▲otterley 5 hours ago | parent | prev | next [-]

This scene from the classic comedy movie Spaceballs is a good one: https://youtu.be/B-NhD15ocwA?si=pcPfIRTgPVAurW1S

▲wiredfool 4 hours ago | parent [-]

The killer is it's even dumber than that.

▲superxpro12 5 hours ago | parent | prev | next [-]

keep it simple. They promised a door key with 10 grooves cut in it, but instead they gave you a door key with 1 groove cut in it.

And when that clicks, extend the metaphor, literally, to a key with ~384 grooves.

▲dhruvagoyal 3 hours ago | parent | prev | next [-]

y'all underestimate your wives, i simply explained how PKI works in simple terms (alice/bob, public key, private key) and explained that they chose 4 as a private key instead of something complicated, she got it.

▲asveikau 5 hours ago | parent | prev | next [-]

I have explained it to a few normies.

I start by saying this is about the tech behind the S in HTTPS. I say that the main point of this is that when you talk to foo.com, it has to prove that the people behind foo.com are on the other end, so it's safe to send them your encrypted password or whatever.

Then I say a bit about how the system works by having a small number of trustworthy companies vouch for other people's servers. This doesn't need too much technical detail to get the point across.

Then I say one of those "trustworthy" companies put an encryption key of 4, where it's supposed to be a long number that's hard to crack. This makes the verification easy to forge.

Then I say that everybody who runs a server needs to remove this company's bad key, and Windows or Mac or your phone needs updates too. And that your web browser probably already quietly removed it, which removes a lot of the risk.

I feel like when I explain it this way people get it.

▲fooker 4 hours ago | parent [-]

> put an encryption key of 4

Hey the 4 was picked for good reason!

xkcd.com/221/

▲whax 5 hours ago | parent | prev | next [-]

It's like finding out that all the deadbolt locks made by a company can be opened by an uncut key blank.

▲bfdm 5 hours ago | parent [-]

This is pretty much what I came up with.

Mine was the lock company selling locks but also making freely available keys that would open any of their locks.

▲notpushkin 3 hours ago | parent [-]

This is the Lockpicking Lawyer, and what I have for you today is a eMudhra TLS certificate...

▲crote 5 hours ago | parent | prev | next [-]

You know how we got a lock on our door, and it opens only with our key? Turns out someone made a lock which looked secure, but actually opened when you said the word "friend" - and then engraved "speak, friend, and enter" on the door.

▲ProllyInfamous 6 hours ago | parent | prev | next [-]

>I can't come up with a metaphor or parable that's even remotely as ridiculous as what they've done

The best example I can think is (some) international borders: yeah, they're heavily regulated entities with lots of written protections (and thousands of miles of impenitrable barricades), but occassionally a hole opens up (whether physically or engineered).

Perhaps a section of border fence is occassionally destroyed (and people sneak in), but this won't happen if the border guards are approving [false] passports from a compromised government actor ("they have a valid passport, according to our inspection"), the border fence doesn't even matter!

Presume anybody can now go to that bad-passport-issuing government and request a passport to then enter any other country (i.e. the other country will see the passport as valid in the official global database): BAM, borders no longer mean anything; welcome to Privileged Accessia.

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

One company prints identity cards with a hologram to prevent copying. Another company puts on a dot with a crayon.

▲BubbleRings 5 hours ago | parent | prev | next [-]

How about, someone is selling a secure box of some sort, and their factory starts putting glitter nail polish over the screws that hold it together, as is sometimes done for security reasons.

Then the intern decides, “I can just glue these identical little white circles with blue sparkles onto the screw, and it will be faster and I can take more breaks!”

▲pcthrowaway 5 hours ago | parent | prev | next [-]

It's like if a manufacturer of bank vaults accidentally let all their vaults be opened by the code 0000

▲Aurornis 4 hours ago | parent | prev | next [-]

I described it like it was a company selling the highest security locks to companies that needed them, then one day someone discovered you could open the door with a toothpick.

▲omarish 5 hours ago | parent | prev | next [-]

https://www.youtube.com/watch?v=_JNGI1dI-e8 except the password is for everyone's luggage, and it can't be changed

▲SAI_Peregrinus 5 hours ago | parent | prev | next [-]

The Hyundai/Kia cars where a USB-A connector fit the lock actuator and was enough to start the car, so enough got stolen that insurance companies stopped issuing policies for them.

▲ggreer 4 hours ago | parent [-]

The same Kias & Hyundais were sold in South Korea, but their auto theft rate is 60x lower than the US.[1] Car theft rates are mostly determined by how effectively car thieves are caught & punished, not by how secure the car is.

1. 4.7 per 100k people per year vs 288.5: https://en.wikipedia.org/wiki/Motor_vehicle_theft#Motor_vehi...

▲hnlmorg 4 hours ago | parent | prev | next [-]

It’s like the skeleton key for all the locks in the neighbourhood is actually just a straight metal rod.

▲throwaway98797 6 hours ago | parent | prev | next [-]

concrete manufacture occasionally builds houses.

house collapses and people get injured.

concrete manufacture says we no longer build houses cause it’s too small of a business.

▲everfrustrated 5 hours ago | parent | prev | next [-]

They cut a key for their lock, but instead of using the 4-5 tumblers they only used 1.

▲deaton 5 hours ago | parent | prev | next [-]

Its like finding out that for many years every minuteman silo in north america used the launch code "00000000"

▲qubex 3 hours ago | parent | prev | next [-]

There’s an xkcd for this: https://xkcd.com/221/

▲trinari 5 hours ago | parent | prev | next [-]

we could stick with the metaphor of keys. The modern web requires fancy ones capable of hundreds of notches. The company in question basically skipped the step of notches and just used the blank key

▲florkbork 3 hours ago | parent | prev | next [-]

"We're designing/running the lottery. You get to pick the winning numbers, in secret, obviously so no one will know. There are millions of numbers you can pick from, using a random system so it's all trustworthy. Instead of drawing a random ball out, and another and another, you write down the number 4 on a bit of paper and go home for the day thinking it's a job well done. No one noticed because they all expected it to take up to a million guesses, until someone just asked if it was 4"

▲nearlyepic 5 hours ago | parent | prev | next [-]

Ever seen Spaceballs?

“That's the stupidest combination I've ever heard in my life! That's the kinda thing an idiot would have on his luggage!”

▲kylehotchkiss 6 hours ago | parent | prev | next [-]

Low quality tech company cuts corners seems pretty on point

▲bethekidyouwant 4 hours ago | parent | prev | next [-]

Why do you need an analogy? Analogies are always bad. Encryption relies on long complicated numbers, but they made the number instead of long and complicated just the number “4”. Which is actually harder than using a long and complicated number because it’s basically all automated so we don’t even know how They fucked it up this bad.

▲Surac 5 hours ago | parent | prev | next [-]

i explain it by using Donald Trump: There is the atomic football (a case traveling with Trump so he can initiate a atomic war even while playing golf). The combination of the lock an the "Football" obviously is 0-0-0-0-0-0, But Tramp has problems remembering the order of the digits in the combination.

▲mrguyorama 5 hours ago | parent | prev | next [-]

They put a lot of effort into building a very secure safe, thick steel walls, can survive a fire forever, too heavy to move.

Then they locked it with the key you find on a chew toy for a baby.

▲qurren 5 hours ago | parent | prev | next [-]

I'm also wondering who the hell would use a registrar called "eMudhra" with Arial font in the subtext in their logo. It's so incredibly 90s.

I'm actually being serious, I do judge companies by their logo and website design taste, and more modern-looking companies also tend to pay more attention to doing things properly.

▲Medea 6 hours ago | parent | prev [-]

[dead]