this post was submitted on 16 Dec 2024
352 points (98.1% liked)

Technology

59974 readers
3473 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 day ago* (last edited 1 day ago) (3 children)

Don’t certs just create an ephemeral key pair that disappears after the session anyhow? What does cert validity period have to do with “This is a big upgrade for the security of the TLS ecosystem because it minimizes exposure time during a key compromise event.”

I mean, it’s LE so I’m sure they know what their talking about. But…?

[–] [email protected] 9 points 1 day ago (1 children)

compromising a keypair is a huge win. lets you impersonate the domain. shorter validation periods = smaller windows of compromised situations.

basically the smaller you make the window the less manual intervention and the less complicated infrastructure gets. currently TLS systems need a way to invalidate certificates. get them down to a day and suddenly that need just disappears. vastly simplifying the code and the system. 6 days is a huge improvement over 90 days.

[–] [email protected] 2 points 19 hours ago (1 children)

Ok, I slid right by the “compromised” word. Makes sense now.

[–] [email protected] -1 points 16 hours ago* (last edited 16 hours ago) (1 children)

you mean you slid right on by an understanding of how security infrastructure works. since one always assumes credentials will be compromised.

[–] [email protected] 0 points 8 hours ago

I mean I just missed that part.

[–] [email protected] 2 points 19 hours ago

The key pair you're thinking of is just a singular key for a block cipher. That key needs to be generated/transmitted in a secure manner. Meaning that its security is dependent on the cert. The expiration time of that cert is what they're aiming at.

[–] [email protected] 5 points 1 day ago (3 children)

I'm far from an expert on PKI, but isn't the keypair used for the cert used for key exchange? Then in theory, if that key was compromised, it could allow an adversary to be able to capture and decrypt full sessions.

[–] [email protected] 4 points 19 hours ago (2 children)

No. Perfect Forward Secrecy (ephemeral keys) prevents this type of replay.

[–] [email protected] 1 points 12 hours ago

Time for a dive, thanks.

[–] [email protected] 1 points 16 hours ago

Although this only was added in TLS1.2 I think. I had to switch it on manually for my server.

I think it's default for TLS1.3.

[–] [email protected] 5 points 1 day ago

Im also not an expert but i believe since there Is still an ephemeral DH key exchange happening an attacker needs to actively MITM while having the certificate private key to decrypt the session. Passive capturing wont work

[–] [email protected] 2 points 1 day ago

Have you read about perfect forward secrecy?