Live data from Hacker News

Internet Draft: SMTP Strict Transport Security

tools.ietf.org

101–104 of 104 posts

Re: Internet Draft: SMTP Strict Transport Security

#101
post #9

Interesting to see the list of contributors from the various companies: Google, Inc, Yahoo!, Inc, Comcast, Inc, Microsoft, Inc, LinkedIn, 1&1 Mail & Media Development & Technology GmbH . One of my goals is to contribute to an RFC.

Join a working group mailing list and pay very close attention. Most of the work happens there, as opposed to at the 3x a year meeting.

I'm currently subscribed to the DNSOP mailing list, which is really interesting, except it's hard to follow since I just joined.

Re: Internet Draft: SMTP Strict Transport Security

#102
post #29

Why do we need to add support for protocols individually for this? Can't we just introduce a TLS extension and an API for detecting these "always use TLS" requests in OpenSSL etc.?

SMTP starts in cleartext. That's the problem. You upgrade to TLS later. But only if the server says it can do that. A MITM attack can easily say that the receiver can't do TLS and thus can see everything that passes. This RFC specifies a way to prevent this, assuming clients abide by the requirements. It will be a long and slow roll out to get this done. But it is worth it.

I don't see a problem here. Just try TLS first always. If it fails and you haven't seen a STS flag for the server, then try plaintext. This should work with any protocol. There's not a whole lot of gain from doing this, except SSL client libs could provide an API for it rather than having to munge every higher protocol to support some kind of STS mechanism.

Re: Internet Draft: SMTP Strict Transport Security

#103
post #97
post #96

Earlier quoted context omitted.

>Even worse, of the domains that support STARTTLS, a sizable number either don't present certificates that chain to a widely trusted root, or don't present certificates that actually match their MX. Worse still, because many domains' MXs don't match the domain itself, even if the certificate is trusted for the MX, it may not be trusted for the domain. This is madness, though. TLS is transport-layer security. It's not…

But I think the authentication problem is in fact the hard problem. Assuming we got rid of STARTTLS (the actual verb) and just always did TLS (say, on some other port), how do you propose to solve it?

Fortunately, we have an extensible protocol that already supports service advertising and negotiation. There's no reason we can't have an AUTH module that works both ways (both the client and server mutually authenticate, independent of the transport-layer encryption).

Re: Internet Draft: SMTP Strict Transport Security

#104
post #90

Earlier quoted context omitted.

Read the draft dude. STS is designed to interoperate with DANE. Also, if you deploy your STS info via DNS you'll need DNSSEC validation to to ensure that what you read in DNS is actually what the zone holder put there. Without DNSSEC how does a sending SMTP daemon trust the STS policy of the recipient zone. STS policies are stored in DNS TXT records, or their own new RR.

Pleaee don't be rude. STS doesn't preclude DANE, but it doesn't require it either. Meanwhile, this use case was the last remaining one motivating DANE at all.

The draft is very clear about DANE being preferred from both a security and deployment perspective (does't need to get certificates for all hosted domains).

Sure, if DNSSEC fail, then SMTP-STS is better than nothing.

I'm pretty sure that the big providers could have had deployed DNSSEC relatively easily, if they just wanted to.

I think other DNS-based email security features such as DKIM and DMARC motivates DNSSEC as well.

Post reply on HN