News for hackers. Stuff that matters.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by berkes on Thursday December 07, 2023 @11:02AM (#38557888)
I think it already has. Maybe not the underlying tech, but certainly for encrypt emails.

But I think the outcome of this is not "something fresh" but rather "giving up on the idea of encrypted emails altogether". We have far superior communication channels that are secure, easy and private today (Signal, Matrix, WhatsApp, iMessage); That problem is solved. Storing emails secure and encrypted is solved too, by providers such as protonmail, fastmail, tutanota and many others.

So what does GPG/PGP really solve still?

The one use-case that I strongly see it shine, is where mail-notifications are signed. I've only ever seen Kraken do this: Upload my GPG/PGP pub key in their web-interface, and have them sign and encrypt mails to me with that. It very much solves phishing and MITM on email-notifications (and password reset mails and such). Comes with two serious problems though: the UX on my client-end still sucks; e.g. I never managed to set-up PGP on my android client, so I cannot read their mails from my phone. "subject: Login attempt from X" body: garbled. And generation and rotation of the keys is as frustrating as ever. It certainly is not a feature for "my mom".

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by ISV_Damocles on Thursday December 07, 2023 @11:09AM (#38557986)
I think we agree[0] on this. Email encryption isn't ever going to be a thing because of the way email itself works. But email signing would help a lot. I still don't think GPG does this very well, though, because of issues with key rotation/invalidation/etc.

[0]: https://news.ycombinator.com/item?id=38557771

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by arp242 on Thursday December 07, 2023 @12:14PM (#38558994)
I wish it would just use TOFU ("trust on first use") by default. It's not 100% fool-proof, but actually does cover a large number of use-cases, and is certainly better than nothing.

UI:

  "[email protected]: we never seen this sender before, be careful"

  "[email protected]: this is verified to be the same sender"

  "[email protected]: ACHTUNG! THIS IS SOMEONE ELSE"
You can of course still manually add keys, and you can even do automatic or semi-automatic key rotation with some new header (e.g. "X-New-Key: [...]" that's signed with the old).
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by woodruffw on Thursday December 07, 2023 @12:21PM (#38559091)
> You can of course still manually add keys, and you can even do automatic or semi-automatic key rotation with some new header (e.g. "X-New-Key: [...]" that's signed with the old).

Headers aren't part of an encrypted or authenticated body, so this is trivial to perform a key replacement attack against.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by arp242 on Thursday December 07, 2023 @12:50PM (#38559422)
Or MIME part, or change the spec to include some headers (I thought it did?) – that's not an important detail here.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by mschuster91 on Thursday December 07, 2023 @01:01PM (#38559561)
> Headers aren't part of an encrypted or authenticated body, so this is trivial to perform a key replacement attack against.

DKIM can be leveraged for that, although DKIM is one hell of a gun to give someone to shoot themselves.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by morelisp on Thursday December 07, 2023 @04:51PM (#38562306)
DNS records aren't part of the encrypted or authenticated channel, so SSH is trivial to perform a key replacement attack against?
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by woodruffw on Thursday December 07, 2023 @05:48PM (#38562867)
Sorry, is this a rhetorical question? I thought the fact that SSH does TOFU was (somewhat) common knowledge, which is why it spits out all kinds of scary MITM warnings when a host fingerprint changes.

If you're connecting to an SSH server for the first time and don't already have a pre-established host fingerprint, then yes: someone who controls your server's DNS records can redirect you to another SSH host, which you'll then (presumably) enter your password into.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by fl0ki on Friday December 08, 2023 @03:01PM (#38573477)
> which you'll then (presumably) enter your password into.

One of the many arguments for using pubkeys so that's all they'll get. Neverthless, the rest of the session could still be anything, and agent forwarding should never be used for untrusted hosts.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by ekTHEN on Thursday December 07, 2023 @12:55PM (#38559482)
I'm using FairEmail [0] as a client on Android which supports PGP and i am quite happy with it.

[0] https://email.faircode.eu/

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by d0mine on Thursday December 07, 2023 @01:04PM (#38559599)
Is it a coincidence that the tech you mentioned includes CIA honeypots e.g., protonmail?

gnupg looks like something that actually can keep your secrets (at rest, otherwise a less-likely-to-backdoored convenient option is Telegram).

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by Valodim on Thursday December 07, 2023 @04:02PM (#38561778)
I'm not sure what you were trying to say here about telegram, but they are completely unencrypted, for nearly all intents and purposes messages are stored in plaintext on the server. They just succeeded impressively in twisting that fact away via marketing.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by d0mine on Friday December 08, 2023 @11:56AM (#38571159)
It has been discussed to death already. There is e2e encryption if you need it. "completely unencrypted" is just false.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by esafak on Thursday December 07, 2023 @01:10PM (#38559671)
Are you sure? Please share your evidence. https://www.reddit.com/r/ProtonMail/comments/14demhj/debunki...
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by d0mine on Thursday December 07, 2023 @02:00PM (#38560318)
when you are dealing with the trillion dollar war propaganda machine any link one might provide will be drown out by noise "debunking" it.

Do your own research. I found the initial links on hacker news.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by esafak on Thursday December 07, 2023 @02:24PM (#38560644)
What links?
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by uselpa on Thursday December 07, 2023 @01:49PM (#38560163)
A random Reddit post is hardly evidence. My personal opinion is that they sell snake oil (a.k.a. secure email).
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by thayne on Thursday December 07, 2023 @02:54PM (#38560999)
> (Signal, Matrix, WhatsApp, iMessage);

None of which are anywhere close to as ubiquitous as email. None of which are well suited to long messages. Only one of those (matrix) is federated. Only one (matrix) wasn't designed specifically for use on mobile devices. Yes, the others can be used on a desktop, but the experience isn't great.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by tptacek on Thursday December 07, 2023 @04:03PM (#38561796)
Hold on, there's a sleight of hand here. You're trying to compare all of email against WhatsApp. Now, it's possible that if you took transactional email out of the picture, and just stuck with interpersonal communication, WhatsApp could beat email. But that doesn't matter, because in this discussion, the figure of merit is encrypted email, and on that metric, every single one of those platforms on their own roflstomps email for daily usage.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by viccuad on Thursday December 07, 2023 @05:53PM (#38562917)
Only Matrix is federated, like email. I really enjoy sending emails without opening an account for each recipient or being subservient to 1 stack provider for 50 years, with all the inbreeding that entails.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by tptacek on Thursday December 07, 2023 @09:00PM (#38564494)
That wasn't the point being made, was it?
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by thayne on Thursday December 07, 2023 @06:05PM (#38563023)
> Now, it's possible that if you took transactional email out of the picture, and just stuck with interpersonal communication, WhatsApp could beat email

Everyone I know uses email. No one I know uses whatsapp. A couple of people I know use Signal. A handful use iMessage.

> But that doesn't matter, because in this discussion, the figure of merit is encrypted email,

Ok, let's consider one case where encrypted email is commonly used: reporting security vulnerabilities. Do you really think any of these would be a good medium for that? Do you see companies or other organizations putting a whatsapp username as the contact in their security.txt?

I do want there to be a more secure replacement for email. But most of the newer e2ee messaging systems can't really fully replace email.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by tptacek on Thursday December 07, 2023 @07:38PM (#38563897)
Yes: I think Signal is drastically better for reporting security vulnerabilities than email. I think if you're actually worried about operational security for accepting vulnerability reports, using email is practically malpractice. The fact is, most security teams, even the very large ones, are not especially concerned about operational security for inbound vulnerability reports.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by thayne on Thursday December 07, 2023 @09:09PM (#38564555)
From a security point of view, absolutely. But there are logistical problems. Currently, a signal account has to be tied to a cell phone number. How does that work when you want it sent to a team instead of an individual? There isn't a sanctioned API, so it is difficult (and unsupported) to set up an integration with bug tracking software. Not to mention that the reporter may not have Signal set up yet.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by tptacek on Thursday December 07, 2023 @09:44PM (#38564795)
Most reporters don't have PGP set up, either --- far fewer than have Signal set up. But this is all kind of a moot point: the industry norm is to use plaintext email, and to make ad hoc arrangements (including voice calls) for the very rare cases where things are too scary to email.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by maximilianburke on Thursday December 07, 2023 @09:52PM (#38564875)
Honestly these seem like pretty minor issues compared to the task of properly managing a GPG install.

How do you manage the keys? If you've shared them with a team, how do you ensure someone hasn't taken a copy? What if the key is lost? What if someone ends up replying to the thread without doing the encryption song and dance? It's just such a pain. I'd rather copy and paste something out of Signal and into my bug tracker a thousand times than have to deal with all the footguns of email encrypted with GPG.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by 0xDEAFBEAD on Friday December 08, 2023 @05:07AM (#38567245)
>The fact is, most security teams, even the very large ones, are not especially concerned about operational security for inbound vulnerability reports.

This never made sense to me, can anyone explain?

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by akerl_ on Thursday December 07, 2023 @06:47PM (#38563422)
Is encrypted email commonly used for reporting security vulnerabilities? It seems like increasingly, more reports occur via bug bounty programs, or are disclosed publicly by the researchers, or are just sent as plaintext emails to security@ or whatever is publicly listed. When I've found security vulnerabilities in somebody's code, I can't think of a time I ever thought about GPG-signing my notice to them.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by 0xDEAFBEAD on Friday December 08, 2023 @05:09AM (#38567258)
>When I've found security vulnerabilities in somebody's code, I can't think of a time I ever thought about GPG-signing my notice to them.

It's not authenticity that matters here, it's confidentiality.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by tptacek on Friday December 08, 2023 @09:06AM (#38569179)
Basically nobody cares. Vulnerability researchers don't use GPG either.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by kasey_junk on Thursday December 07, 2023 @07:10PM (#38563666)
“A handful use iMessage”.

Right…

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by akerl_ on Thursday December 07, 2023 @07:28PM (#38563828)
I mean, only a handful of my friends use iMessage, but that's because I don't have that many friends.
Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by berkes on Friday December 08, 2023 @10:48AM (#38570394)
The fact they know no-one who uses WhatsApp is a giveaway of their demografy as well. In many countries "not having WhatsApp" equals "not participating in anything". In my country everything, from my insurance help desk to the coordination for a friend's birthday gift happens on WA.

Despite my reluctance to use Meta projects, I read and write far, far more WA messages per day than emails.

Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern... by 0xDEAFBEAD on Friday December 08, 2023 @05:12AM (#38567275)
>We have far superior communication channels that are secure, easy and private today (Signal, Matrix, WhatsApp, iMessage)

These are valuable tools, but they aren't usable on the command line the way gpg is. Signal doesn't help me sign an update to my software package.

Also I think the web of trust is a pretty cool concept, in theory at least. I don't know if anything outside GPG supports it.