Login
You're viewing the functional.cafe public feed.
  • 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

Replies

  • 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