415 points · by floren · 3y ago · 263 comments
That said, Proton's response to this issue is joke.
If they cannot handle basic things like PGP correctly, how should I trust other part of their software. Especially they are a "Privacy-first" company.
"Privacy" becomes a marketing term nowadays.
Bridge is a proxy which hosts a local IMAP and SMTP server, and takes "normal" unencrypted and unsigned messages from desktop MUAs like Thunderbird, signs and encrypts them, and then sends them out. Note that this requires changing the MIME message somehow.
OP writes:
> Everything was great until I decided the other day that I’d also like to do PGP signing on my outgoing messages.
The "intended" way to do this is enable the setting in Proton Mail that says "Sign external messages" :) That way, Bridge will sign them for you. (Internal messages are always signed.)
> Tough luck, bucko, we’re the SECURE email company, you’ll upload your private key to our servers and you’ll like it!
FWIW, private keys are stored encrypted on the server, we don't have access to them.
But yes, the entire goal of Proton is to handle PGP for you, without having to set up PGP encryption and signing manually on all of your devices. I know that the HN audience is fully capable of doing so, but our goal is to make it easier for everyone else :)
> It’s absurd that there’s no way to disable this, no option to tell Proton “if you see a multipart/signed or multipart/encrypted message, just leave it the hell alone.”
IMO, if we see a multipart/signed message, we should still encrypt it whenever possible, not leave it alone. But note that normally in OpenPGP, signing and encrypting is a single operation. It's possible in PGP/MIME to sign a message first and then encrypt it, but we don't support sending that way at the moment, though we could of course add that in the future. But in any case, that's the reason we currently recommend signing using Bridge rather than manually using gpg or similar.
I'm always bothered by statements like this because it appears to be skimming over if the provider can perform cryptography with the key. My understanding is that those keys are only decrypted in the users apps/web browser, not server-side. Is that right?
You need to trust that the provider doesn't perform additional operations along side legitimate user triggered actions, which I believe PM handles.
> FWIW, private keys are stored encrypted on the server, we don't have access to them.
This is frankly fucking ridiculous. Users (including me) have been requesting a change to this for years. It's thanks to this bullshit that ProtonMail's key feature for me is just 'isn't Google'.
PS: the lack of threading support in your mobile apps is embarrassing, it's been like this for years. No I will never use your web client. Stop trying.
It’s a user benefit. By definition that means it’s a marketing term. That is not mutually exclusive with being a general concept.
You can genuinely support privacy and still have features or user cases that don't work. This feature does nothing to weaken privacy.
But for PGP? You should treat it seriously, considering your target customers.
Brilliant quote!
https://github.com/ProtonMail/proton-bridge/issues/26#issuec...
I'm actually more shocked knowing that they drop plain text if there is a mime-encoded part (e.g. HTML). Just verified that all mails imported from GMail and all newer mails I received in PM only have the HTML part now, while GMail shows both HTML and plain text parts in message source. Great, now if I want to use a text-only client to read those mails in the future, I won't be able to.
Now I honestly wonder, how did they think this is something okay to mess up? Is there just no usable email hosting service for someone that want their mails not touched and also stored securely? Like, this is not even going to save storage space for PM - I'm paying for my storage.
I'm speculating but this has the smell of enshittification. Somehow this is saving them money while making the product worse, and they're hoping not enough customers notice to matter.
I'm happy to see this called out. Don't explain to me that I'm holding it wrong. At minimum admit that a shortcoming on your end prevents me doing what I want and think about if or how it's possible to change that.
That's what opinionated means, yes.
This is a valid business strategy in my experience especially for B2B enterprise SaaS, where you know your product works very well if used to solve a specific set of problems using your SaaS tool in a way that you, the vendor, prescribe.
At our company we tell prospective customers that if they don’t like the workflows we demo to them, they shouldn’t buy our product because the customers who like our product are the ones who use this workflow, and people who don’t like our product use strange workflows we don’t recommend.
I think the problem is when the customer isn’t made aware of the opinionated workflows/features/etc until after the fact.
What is a good example where software is described by its maker as opinionated and where it results in "their way or the highway"?
I'm asking because all software need defaults and no software can do anything that all users would want, so the software maker has to make choices of what they offer (i.e. reflecting the maker's opinion).
By using Black, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.
Black makes code review faster by producing the smallest diffs possible. Blackened code looks the same regardless of the project you’re reading.
1. Changing a preference with a GUI editor. Only a small percentage of all defaults can be changed this way.
2. Changing a preference with "defaults write..." and hoping the change will stick the next time you upgrade the OS.
3. Change the default for one usage but it will revert the next time you do that operation. Many examples wrt how Spotlight searches work in the Finder.
4. You can't change the default at all. Example: Themes. Last time I checked there were two, and nobody can make others.
I call Pettier a compromise tool, noone is happy noone is too mad when you force it on checkin etc
Non-opinionated ... Opinionated ... My Way or the Highway
Where are they doing that?
Every time one of these threads come up I like to share my experience attempting to use protonmail for my business:
Protonmail charged us for every email account, whether or not they were active. When an employee left the company, we would disable their email address but we wanted to keep records of their email history. Of course, exporting email from protonmail is difficult to the point where you need an engineer to do it.
So I emailed protonmail saying "hey, do you think you could add a feature where email addresses can, say, be permanently disabled and then we don't pay for them any more?" They replied with a typical protonmail brush-off.
I was already frustrated with the service because their search is worse than a simple substring search and after a few years of using an email provider for professional use you sometimes have to find old conversations. So I canceled the account and closed the privacy.com card.
A year later I noticed that the (luckily closed) card was still being charged monthly, so I tried to log into the old account to see if there was a problem and the password (stored in a password manager) didn't work. I emailed them to let them know there was likely a bug and their support agent argued back and forth with me about it before finally demanding my credit card information (which I didn't have, the card was closed a year ago) to stop billing me. I just stopped responding at that point.
In my mind the fact that they are so hostile to their users is a big red flag. I think it's bad practice to trust people who indignantly dismiss reasonable questions from paying customers with private information.
IMHO, Proton is meant to keep conversations completely private between recipients. I’m more surprised that you can still access a former employee’s email at all.
What about now, did you tried to use Import-Export app for ProtonMail, did you try to use search now?
Oh my God, i thought it was just me! I've had multiple emails to doctors and financial advisors get cut off this way when i clearly remember typing the whole thing out and i was honestly wondering if all the medications I'm on (for cancer) were causing me to have brief hallucinations while sending emails or something like that.
IMHO this is really a "drop what you're doing and fix it" type of bug, even if it affects only a small portion of all users because it's such a critical high-impact bug, and any fix really shouldn't have to involve a complete rewrite.
I've had this bug hit me at times that matter. What if my recipient ignored my empty mail instead of notifying me?
these are application development regressions and bugs. maybe it is just too. uninteresting for Proton to build a great product?
I was hoping their big song and dance over privacy would lead the likes of Gmail, Outlook, etc to adopt native PGP too.
Wishful thinking. :')
For example...
1. what happens when you send an encrypted email, and the recipient forwards it?
2. What happens when the recipient replies? Will your original email be included encrypted, or decrypted? Most likely the latter, meaning the same cleartext is now present in two messages.
3. What happens when you email more than one person? What entity handles the encryption for each recipient?
3.a. what if only some of your recipients support encryption? What's the point of encrypting if you're sending some in the clear anyhow?
4. What happens when you email a mailing list, with unknown participants?...
5. What should be canonically encrypted? Just the message body? What about the subject, which is a header of the email? What about any other headers?
5.a. Oh you just want it signed? Again, what is canonically getting signed? How does that survive the many transformations the text receives in a conversation?
2) It's decrypted and re-encrypted with your public key.
3) Same thing that happens right now? Two separate emails get sent out each encrypted separately with the receiver's public key.
3a) It gets sent unencrypted. Frontend client warns the sender.
4) Separate emails get sent out with the receivers' public keys.
5) Everything except the receiver's single email address. Optionally, everything except the receiver's and sender's email address for spam filtering.
5a) Everything.
Not sure why any of this would prevent Apple, Gmail, and Office365 from implementing a transparent PGP encryption layer. If just those three entities worked this out, the vast, vast majority of emails in the western world would be encrypted effectively. Just because some emails wouldn't be well-encrypted doesn't change that this would be a huge benefit for privacy.
True story, I was an expert witness on a case once where I showed how the other guys were submitting forged emails into evidence -- by using DKIM signatures/hashes. That was probably some of the most fun I've ever had.
> 3) Same thing that happens right now? Two separate emails get sent out each encrypted separately
I thought the email gets encrypted to multiple recipients (at PGP level), then MUA submits one single email with all those Cc and Bcc addresses. Then the SMTP service sends the same copy (that every recipient can decrypt) to every recipient's individual mail server (one message with per mailhost).
Not the way you've described it. I don't think anyone wants to trust SMTP server with their private keys (one single reason I do not use Protonmail).
> 4) Separate emails get sent out with the receivers' public keys.
I'm afraid this won't work. Mailing lists and encryption are quite incompatible. The whole point of a mailing list is that your client doesn't know or bother to know the recipients - and they can come and go. And if you specify every recipient it's just (3).
I'm not aware about any standard on how to implement email lists/archives/newsgroups with encryption (so one joining can read past messages) and forward secrecy (so kicking someone out ensures they can only read what they have already seen).
> 5a) Everything.
Problem with existing email infrastructure is that MTAs and MDAs do a lot of transformations on the headers part of "everything". So just saying "everything" isn't exactly informative. I think the best approach is to send a full MIME-encrypted message as an attachment in a minimal envelope (so just From/To/Subject). But then there's the infamous SPAM problem - and I'd really wish it would've worked, but sadly filtering solely based on sender-receiver pairs doesn't work in reality (or I wouldn't have to maintain and train rspamd on my servers).
(2) and (3) have similar problems.
(4) is a TOFU-ish scheme, meaning that it’s trivial for an adversary on the wire to replace the keys.
(5) doesn’t work, full stop. E-mail wasn’t designed with encrypted headers in mind. Trying to shoehorn these things together leads to all kinds of weird misplaced user assumptions around what is signed or not, etc.
The challenge is key handling, especially the commonality of multidevice access to the mailbox. If you want to do this transparently, the only place you can store the key is... right next to the mailbox, so that anyone with access to the mailbox has access to the key. In other words, you're forced to limit the number of people who can read the message to anyone who has access to the mail server. But there's an easier way to limit the number of possible readers of a message to that set of people--just encrypt all the links involved in sending a message. And that was done about a decade or so ago, and happened pretty transparently.
Oh, and there's another problem. Encrypted emails break a lot of email features people like to rely on, such as spam filtering, server-side filters, or server-side search. (Assuming you don't just give up and give the server the keys.)
Encrypted email is a solution in search of a problem.
Minor correction, but this is not true. The mail itself is encrypted symmetrically and only the key is encrypted with the receivers public key (this is true for all cases). In case of multiple receivers, the key is attached multiple times, encrypted with the PK of each receiver.
Wouldn't this mean you lose the ability to show all recipients to all recipients? E.g. multiple To or Cc entries seem... probably not possible, since that would imply also sending to them? At that point it isn't "multiple recipients of an email", it's "multiple emails", and that's an only-sometimes-minor difference.
I definitely do not know email in enough detail to be sure though.
I'm not sure signal is what people who really care about their security should be using. Signal refuses to update its privacy policy to reflect the fact that for years now they've been permanently storing sensitive user data in the cloud. At this point I consider the fact that the very first sentence of their privacy policy has been a lie since 2020 to be a dead canary.
That, combined with their very unclear and misleading communications surrounding the data collection along with the dropping of highly popular features (the ability to handle unsecured SMS/MMS as well as secure communication) and inclusion of sketchy crypto features nobody asked for, makes me suspect even more that Signal may be telling people as loudly as they can to look for alternate solutions.
To anyone unaware that Signal was collecting and forever storing sensitive personal data in the cloud, that should tell you everything you need to know about how trustworthy it is.
For more info on this see:
https://community.signalusers.org/t/proper-secure-value-secu...
https://community.signalusers.org/t/dont-want-pin-dont-want-...
https://old.reddit.com/r/signal/comments/htmzrr/psa_disablin...
But when it comes to true security, 90%, or even 99%, is so far from "good enough" as to be pointless.
I mostly agree. Although I don't know of something that can really replace email. Signal for example is not great for long form content, is kind of difficult to use on a desktop, is tied to your phone number, doesn't have a way to programmatically send messages (besides unsanctioned third party clients), and doesn't have a good way to group messages into conversations or threads. Most other e2e encrypted system have similar limitations.
Matrix is perhaps the most promising I've seen for replacing email. But the biggest problem is the network effect. It doesn't matter how good a system is if no one you know uses it.
This is not entirely true. I am not allowed to mention their names but there are a myriad of companies that use PGP in their software integrations. It is very heavily used for B2B in the financial world. That isn't to say that devs don't shake their fists in anger when trying to do QA testing on software/library matrix of tools that businesses use with PGP, there is plenty of that.
On a personal level I have taught many in my circle to use GPG with Thunderbird as it is really just a couple clicks to set it up and no effort to use it. Mozilla did a great job making that easy to use though I have no doubt that prior implementations had soured peoples experiences to the point of not wanting to try it again.
Some of your examples are real issues though. Mailing lists are a pseudo-problem in that it doesn't really make sense to use on a public distribution. I've seen it used on Usenet in that fashion long ago but adoption was low for that use case and people complained they could not read the messages not intended for them and that they should use email directly to the people it was intended for instead.
What happens when you email more than one person? What entity handles the encryption for each recipient?
The email client handles this.
1. User writes recipient address.
2. Server checks the address and asks mail host for encryption key.
3. Mail host sends encryption key
4. User continues writing email.
Similar to how UDP https works.
I'd call it Wave
https://latacora.micro.blog/2020/02/19/stop-using-encrypted....
https://support.google.com/a/answer/10741897
https://security.googleblog.com/2023/06/gmail-client-side-en...
[1] https://www.spiegel.de/international/germany/inside-the-nsa-...
Email is already encrypted in transit in most cases, and modern TLS has benefits over PGP. A big one is forward secrecy -- if you leak a TLS key, you haven't leaked all your past messages. But if you leak a key for an encryption scheme that doesn't support forward secrecy, you leak everything, as WikiLeaks found to their cost[0].
Mitigating this issue -- especially in the context of email -- is hard.
Also, PGP encrypts message data but not message metadata. Transport encryption still protects the per-message metadata, but adding PGP doesn't help.
Lastly, for this note at least, adding PGP into email in a way that is seamless will almost inevitably still involve some level of trust in your email provider. I'm all in favour of end-to-end encryption, but not at any cost. New protocols can have new capabilities, but for email my judgement is that your personal security boundary should include your email server. TLS for encryption in transit, DKIM for attestation of authenticity, and trust that the person you're communicating with has similar levels of trust with their mail host[1].
[0] https://www.spiegel.de/international/world/leak-at-wikileaks... - not that they necessarily used PGP, but the problem is the same.
[1] I recently sent emails with bank data in them to my solicitors, something that just seemed wrong on so many levels. But my mail server will[2] decline to send mail to their server without validated TLS, and however I give them the information it's going to end up in their O365 environment because that's how the company works. Submitting it over SMTP over TLS is no less secure than over HTTP over TLS.
[2] Because I have an advantage over many people who want email security, in that I run my own mail server and can configure it to require TLS for domains that I know support it. I'm not quite at the point of changing the default and only supporting plain text transport for explicitly-allowed domains, I need trust on first use and better observability of failures before I dare risk that -- and I'd use TLSA except that DNSSEC is annoying and so no-one else uses it.
What's the point of PGP if the e-mail company has the private key? Just security as the e-mail is being sent over the network + signature verification?
Sharing the private key is an odd way to keep secrets.
After testing and submitting a bug report, they were told that ProtonMail assumes attachments are encrypted with the user's address keys, and tries to decrypt them (the .gpg extension is stripped when recovering/recreating the original file name).
The biggest surprise was ProtonMail had suggested for my friend to import their private key corresponding to the public key for the attachments as a workaround. My friend did not agree to do this.
Use a low entropy things (I guess user's password would be not larger than 20 characters nowadays even using password managers) to encrypt a high entropy strings (PGP key).
Looks pretty weird to me.
Proton makes it hard for open-source software developer to send patches and they don't care.
https://git-send-email.io/#step-2
Some quote from it.
> Be advised that Protonmail is generally known to be a pretty bad email host. They will munge up your outgoing emails and your patches may fail to apply when received by the other end. Not to mention their mistreatment of open source and false promises of security! You should consider a different mail provider.
Glad that I jumped out the ship only after one week so I can get full refund lol
That sounds like a big fraction of the complexity of a self-hosted setup.
Google and Microsoft both were easy to deal with for me, and I even have a domain with a newer TLD (bar). DKIM+SPF is all it seems to take.
My host was also on Spamhaus' blacklist, but no one else's. I'm not sure it mattered, but they were nice enough to remove it and reply with a snippy email about how reluctant they were to do so. No surprise there, folks at Spamhaus would block their own mother.
Self-hosting email is just not that hard. It does take a bit of work, but that's why it's called DIY.
In short, I’m skeptical that, given the recurring cries of anguish I’ve seen here previously, your anecdata is universal.
I NEVER could send an email to a Microsoft email address and have it end up in the inbox. It was systematically flagged as spam. Microsoft's answer was to subscribe to some shitty, shady third party service to maybe, MAYBE change my reputation.
The wise man accepts that using a reputable forwarding host for sending is still valid self-hosting.
1. Account must be Approved and in good standing for at least 6 months
2. Account must be on a paid monthly plan for 6 consecutive months (or have purchase credits)
3. Account must have a lifetime sending volume of over 10,000 messages
https://postmarkapp.com/smtp-service
https://postmarkapp.com/support/article/1139-can-i-hide-or-d...
I've also got a 10 year old VPS whose IP presumably has a pretty good reputation by this point but I'm sure it's safest to use a dedicated service.
I guess the redback spiders do make nests in the server-racks sometimes.
Before iCould I used to to this manually with my own mail
In the first iteration I had a catch all address, so I could invent any new email address and it would arrive to me. This was plagued by spam because any conceivable user @ my domain would be delivered to me.
In the second iteration I manually created aliases in the config file for my mail server when signing up for new things. This was additional overhead and annoying.
iCloud thanks to the integration into Safari and apps is so smooth with this. I just click the “hide my email” button and it generates a new unique email for the place I am filling in an email address.
I love it!
Do you have a source? I did find reports saying that it was limited to 100 during the beta but that the limit has since been lifted. People are claiming almost 350 addresses with no cap.
https://discussions.apple.com/thread/253893742
https://www.reddit.com/r/iOSBeta/comments/pbfg1t/hide_my_ema...
It seems that Apple has gotten better at online services, but MobileMe was not that long ago.
I know it's swiss etc, but the honeypot tactic is not new. Protonmail could totally be infiltrated or controlled by an intelligence agency under the guise of "we offer you privacy".
I don't like conspiracy theories, but when it comes to escaping government electronic surveillance, Snowden made me realize that tinfoil hats are not so ridiculous.
You could title your mail to spamhaus: "You're today's lucky winner of $50!!!". That might get you on their good side.
Self hosting is a lost cause for e-mail unfortunately. You either get overrun by the amount of creatively formatted spam, or all of your e-mails are dropped despite having perfect SPF+DKIM+DMARC records and long-time owned domains.
Especially Microsoft has a horrible record of dropping e-mails everyone but big enough companies. Guess which software is the most popular choice in business e-mails: Microsoft Exhange. So no job applications, no communication with the various government offices, no business enquiries but loads and loads of spam that uses all possible codepoints in UTF.
I don't agree with it, but I could understand it. Because of the spam/blackist problem, every ISP I've worked for has ultimately either stopped providing email service or outsourced it.
Because Google and Microsoft have a monopoly on email.
Because of that, they don't have to play nice with anybody else and can make you jump through any arbitrary number of hoops since they hold most of the users.
Using them correctly is impractically difficult for most people.
Your key has to be as long as the sum total length of all of the messages you send along that communications channel, and it has to be completely random. Reusing any key material, or having a less-than-random key, breaks the security. Losing your place in the gigantic key you're using doesn't break security, but it makes the result impossible to decrypt unless you try every possible offset within the key to see which one gives a reasonable decryption.
Therefore, someone selling a "one-time pad" security system isn't really selling a one-time pad system at all, because people wouldn't buy an email encryption solution which required them to generate, distribute, and keep their place in an impractically large key.
It's possible to come up with scenarios where a one-time pad is a good solution. Spies have used them in the past and are likely using them now. But they're impractical and they're used as a buzzword by scammers.
Getting actually random (not pseudorandom) keys is very difficult.
Not reusing any key material ever is very difficult.
Exchanging the keys is difficult.
It’s not authenticated.
It’s just not useful in practice.
This postdates Proton Bridge, btw. But yes, probably we could do more to play nicely with it. But, when Bridge was created, using both Thunderbird and Proton to manage your keys was indeed not an expected or intended use case.
I guess this is a kind of "lite" vendor lockin if you want encrypted email for the masses.
If someone else has the key, it's not safe encryption. It's only as safe as the entities holding the keys. Do we know that they won't sell? Be forced? What happens if they get hacked?
Now it's not your security you have to monitor, but theirs. And you can't control theirs.
Anyway, your argument could be extended to any E2EE protocol...
And why we still use encryption? Because we usually trust the receiver and also the receiver can suffer from the leak of the message.
Never mind this pgp stuff that 1% of people find concerning, the current Android app is terrible at the basics. Half way through drafting a reply it closes your message and drops you in the inbox. Half the time it doesn't send, just boots your email into drafts where it sits forever, until you go and resend it. It also prematurely sends. The search is a random email finder now. It is hopeless.