Login
You're viewing the functional.cafe public feed.

Replies

  • Oct 20, 2026, 9:24 PM
    that's only true if you cling to pki-as-authentication. if you're just using certs for line encryption, you can rotate them every day (or even every connection) and it is fine.

    use something else for authentication.

    CC: @silverwizard@convenient.email
    💬 2🔄 0⭐ 0
  • Oct 20, 2026, 9:28 PM

    @khm @silverwizard Without authentication of the server to the client, line encryption is largely meaningless because it's subject to MITM. All it can protect you against is purely passive attackers.

    I'm not sure if this is what you meant by "as authentication".

    💬 1🔄 0⭐ 0
  • Oct 20, 2026, 9:37 PM
    that's exactly what I meant. it only protects you against passive attackers now, since most of the internet terminates TLS at one of approximately five CDNs. whatever is talking over the TLS connection should be mutually authenticating anyway.

    CC: @silverwizard@convenient.email
    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Oct 20, 2026, 9:51 PM

    @khm @silverwizard Like if course no cryptographic measure can protect you against a peer who's given Clownflare backdoor access to their end of your session.

    So sites like that are not part of the discussion.

    The question is whether the transport layer is protected between you and sites which are trustworthy. And this requires having a way to validate that the key you're presented with is actually their key.

    You cannot just do authentication as a separate layer once you're connected. That does not establish that there's not already a MITM. It needs to happen at the transport layer.

    💬 1🔄 0⭐ 0
  • Oct 20, 2026, 9:59 PM
    of course you can. plenty of ways to sign and/or encrypt messages. thinking it needs to happen at the transport layer is what got us into this mess

    CC: @silverwizard@convenient.email
    💬 2🔄 0⭐ 0
  • Oct 20, 2026, 10:05 PM

    @khm @silverwizard You either need a second layer of authenticated encryption inside the TLS with unauthenticated key, or you need some sort of coupling between the layers (I would deem this very bad design) where you go back and look at the key the TLS session was established with and validate it based on data communicated at the application layer, before transferring anything sensitive.

    I deem this *extremely* bad security design, because it means the application layer is parsing protocol data from an untrusted source, and now is attack surface not just for a malicious server, but for any MITM actor.

    In any case, it's also incompatible with the document request model of the web. Which you might deem to be a bad model, but it's what we have.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 20, 2026, 10:38 PM
    @khm @dalias if I'm using my Bank I care the site is signed by my bank. And I'd love for them to have a way to show me their public key in a vaguely trusted way. But yeah, for 80% of my traffic self signed is *equally or more* secure. But the 20% (banking, work communication, and so on) really matters.
    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Oct 20, 2026, 10:36 PM
    @cm @dalias @khm yeah, authenticating sites is a hard problem. CAs are a fine way to push that problem, but blah do its failure cases suck. The edge cases when authenication matters feel so inappropriate for the CAs *and* self signed though.
    💬 0🔄 0⭐ 0