News for hackers. Stuff that matters.
Re:Stop Using Encrypted Email by pavel_lishin on Wednesday February 19, 2020 @06:16PM (#22371175)
> I can send an encrypted email to anyone and be guaranteed that only that person has access to it, even if I have to give them instructions on how to decrypt it.

Genuine question: how would you send me an encrypted email, and give me instructions for how to decrypt it? I have no published public keys; you'd have to send me a keypair that you yourself generated - how would you do that part securely?

Re:Stop Using Encrypted Email by tomatocracy on Thursday February 20, 2020 @05:03PM (#22379090)
The way this happens today in the real world is that I send you an email with an encrypted zip file attachment (and I make sure I've chose an appropriately secure encryption method) then I call you (or meet you in person) and tell you the password.

Symmetric encryption has ergonomics which are actually easier than asymmetric encryption with the tools we have today.

Re:Stop Using Encrypted Email by asimpletune on Wednesday February 19, 2020 @06:36PM (#22371315)
You could associate your public key with a DNS record that you control?

e.g. https://tools.ietf.org/html/rfc7929

Re:Stop Using Encrypted Email by pavel_lishin on Thursday February 20, 2020 @08:48AM (#22375013)
This is orders of magnitude more difficult than just telling someone to install Signal. Even people who are somewhat tech savvy are going to have trouble with these instructions. I freely admit that I have no idea how to do what you're proposing I do.
Re:Stop Using Encrypted Email by jolmg on Wednesday February 19, 2020 @06:46PM (#22371383)
The MitM problem is not with sending the public key. They can just email it. The MitM problem is with intercepting the instructions from person A, having the MitM person generate them, and provide the pair to person B while impersonating A.
Re:Stop Using Encrypted Email by dane-pgp on Wednesday February 19, 2020 @09:41PM (#22372267)
If you know you want to email [email protected] and if you trust DNSSEC, then fetching the public key for [email protected] from the DNS should be at least as secure as visiting https://example.dk in your browser.

(If you don't trust that Alice's email address is [email protected] then you shouldn't send an email for her to that address regardless of MitM attacks.)

Re:Stop Using Encrypted Email by CiPHPerCoder on Thursday February 20, 2020 @06:33AM (#22374323)
> ... and if you trust DNSSEC...

I don't, thanks.

Re:Stop Using Encrypted Email by jcranmer on Wednesday February 19, 2020 @11:03PM (#22372584)
You're omitting the part that example.dk could create a fake key for [email protected], publish that, decrypt a copy for themselves, and reencrypt it for [email protected]'s public key.
Re:Stop Using Encrypted Email by dane-pgp on Thursday February 20, 2020 @05:18AM (#22374021)
Well, I said it's at least as secure as visiting https://example.dk in your browser, where your attack is equivalent to the hosting company or DNS provider generating a new TLS certificate for that domain without the knowledge of Alice, the nominal registrant. (The web PKI also has the problem that any CA can issue a certificate for any domain).
Re:Stop Using Encrypted Email by jcranmer on Thursday February 20, 2020 @09:28AM (#22375275)
The catch is that the primary reason to choose encrypted email is to prevent your hosting email provider from reading your email, so the inability of encrypted email to provide that guarantee kind of renders it worthless.
Re:Stop Using Encrypted Email by dane-pgp on Thursday February 20, 2020 @05:15PM (#22379161)
Of all the attackers you could worry about, I wouldn't put your own email hosting provider at the top of the list. MTA-STS is nice, but it's hard for an email client to guarantee that the hop-to-hop links between itself and the recipient's inbox are going to be protected with TLS. Passive snoops between mail providers seem like a much more realistic threat.

Also, by putting a public key in the public DNS, it means that Alice can catch her mail provider's DNS server giving false information about her public key, which would come with cryptographically signed proof of which entities were involved in that lie. Ideally there would be an equivalent to the Certificate Transparency system for keys that are used or protected by DNSSEC.

Re:Stop Using Encrypted Email by jolmg on Wednesday February 19, 2020 @06:34PM (#22371302)
I can also send you the commands to copy-paste into your terminal to generate the key pair and ask you to give me the public key.
Re:Stop Using Encrypted Email by asimpletune on Wednesday February 19, 2020 @06:37PM (#22371317)
That could def. be MITM’d though
Re:Stop Using Encrypted Email by jolmg on Wednesday February 19, 2020 @06:41PM (#22371342)
That would have to be someone actively engaging in MitM and not merely listening and keeping record.

Even if that's the case though, you can raise the difficulty by doing it through a phone call.