NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Understanding Email Encryption (fastmail.com)
chrismorgan 3 hours ago [-]
> Additionally, servers don’t verify certificates by default. […] This is because verifying the certificate adds no security when an active attacker could just fall back to an unencrypted connection.

But surely the eventual goal is encrypted-only, at which time that’s no longer the case. Not verifying certificates feels like it may just slow down the process, because now when it looks okay you may actually find it’s not, the error is just masked for now.

cubesnooper 2 hours ago [-]
I self-host my email, in part because I wanted to enforce encryption whenever I send. My server does verify the certificate of the target MX, whether it uses MTA-STS or not. Delivery fails if the certificate is invalid, and also fails if the destination (or a man in the middle) downgrades or strips STARTTLS.

In eight years, I’ve seen zero servers that refused STARTTLS, and only two invalid certificates. In both cases, the certificates were from a valid CA and weren’t expired, but the hostname was wrong. Both were due to outdated DNS records, one of which was fixed as soon as I reported it, and the other resolved itself after a few months.

imrejonk 13 minutes ago [-]
> My server does verify the certificate of the target MX

But how do you know if the target MX is correct, and not controlled by an attacker? You can't really know for sure unless the receiver has secured their domain name with DNSSEC or published an MTA-STS policy.

sylware 33 minutes ago [-]
I am self-hosted: minimal smtp server, no TLS, only direct and basic delivery of emails. I don't even pay the DNS mob, namely I use IP literals (mailbox@[x.x.x.x] and more mailbox@[ipv6:...], see smtp RFC, yeah the email guys were smart enough not to make their protocol hard dependent on DNS neither on any crypto).

I do not trust the CA system. If I ever crypt the content of an email, it would be because a guy I saw gave me its public key in some way (QR code?) face to face. For really serious stuff, I would not use smtp anyway and with some modified-standard-cipher pre-shared key anyways.

ggm 2 hours ago [-]
Temporary states go on with a long tail. Look at the v6 transition. We're dual stack for the foreseeable future and it's my guess we'll be in partial deployment of secure mail transport for aeons.
chrismorgan 2 hours ago [-]
Google is easily in a position to force it unilaterally.
mritzmann 40 minutes ago [-]
They already do, but unfortunately only for mass senders.

https://support.google.com/mail/answer/81126

chrismorgan 20 minutes ago [-]
That indicates that they require it for all inbound mail, but it doesn’t yet cover outbound.
sylware 31 minutes ago [-]
Google blocks IP literal email addresses (which is stronger than SPF and should be part of DMARC).
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 12:12:45 GMT+0000 (Coordinated Universal Time) with Vercel.