187 points GaryBluto 3 days ago 74 comments
adastra22 1 day ago | parent
Joel_Mckay 1 day ago | parent
tptacek 1 day ago | parent
m348e912 1 day ago | parent
Elaborate
some_furry 1 day ago | parent
https://www.latacora.com/blog/2019/07/16/the-pgp-problem
Recommendations: https://soatok.blog/2024/11/15/what-to-use-instead-of-pgp/
We don't need to keep elaborating or re-litigating the same discussion. The PGP idea of "one tool to rule them all" is a terrible cryptography design, and the world is better off the sooner we stop trying to make it work.
upofadown 1 day ago | parent
* https://articles.59.ca/doku.php?id=pgpfan:tpp
By what I saw, there wasn't really anything anyone would care about in https://gpg.fail/ . The GnuPG problem actually declined to respond to some of them.
riedel 1 day ago | parent
tptacek 1 day ago | parent
There isn't one cryptosystem that does all these things. For messaging you want a carefully-defined notion of forward secrecy and post-compromise recovery, along with a careful decision about repudiation/non-repudation (1990s cryptography doctrine would suggest you just always want nonrepudiabilty, which turns out to be disastrous for privacy). For backup, you want deduplication and content addressing. For packages, you want transparency logs. You almost never want long-lived keys, but you often want identify binding.
PGP solves basically none of these problems, and offers instead a 1998 API (I'm not kidding, I thought about what year to pin it at) to basic cryptography primitives.
voooduuuuu 1 day ago | parent
But PGP is useful if both sender and receiver agree to use PGP.
woodruffw 1 day ago | parent
Anecdotally: this works until you add a third person who responds to the thread in plain text, with everything threaded beneath. Or when you do that by accident.
Applied cryptographers will tell you to use Signal or any other E2EE chat.
user3939382 1 day ago | parent
gatlin 1 day ago | parent
woodruffw 1 day ago | parent
TFNA 1 day ago | parent
woodruffw 1 day ago | parent
I think SGX is a red herring in this context. You can find it risky or not, but it's (1) not material to Signal's E2EE property, and (2) materially better than email, which sends all contact metadata in plaintext, regardless of whether you try and encrypt your message bodies. Bringing it up in this context seems like a category error.
cowlevel 1 day ago | parent
woodruffw 1 day ago | parent
TFNA 1 day ago | parent
akerl_ 1 day ago | parent
TFNA 23 hours ago | parent
47282847 1 day ago | parent
Any time this topic comes up, here and elsewhere, I find that most discussions revolve around different understandings and misunderstandings what people mean when they say “PGP”, and rarely lead to anything beyond that. - no this is PGP no you’re wrong that is PGP and so on and on…
tptacek 1 day ago | parent
tejohnso 1 day ago | parent
The expectation is that anybody who ends up with the encrypted copy would have an impossible time trying to decrypt it without, I don't know, millions of dollars worth of compute per year for decades to throw at it or something like that.
woodruffw 1 day ago | parent
(The idea of trust networks is not bad. But PGP’s implementation of them is bad.)
kstrauser 1 day ago | parent
HoldOnAMinute 1 day ago | parent
dale_glass 1 day ago | parent
The packet format is awful, full of complexity, backwards compatibility mess, and serious security problems.
The spec is pretty awful in that a lot of the complexity is due to keeping compatibility with things that are a terrible idea. And also in that the general concept of a long lived key turned out to be a bad one.
The library or lack thereof IMO cripped PGP/GPG back when it was relevant. It's nigh impossible to make tooling for it, or it was until Sequoia showed up, which was extremely late. Things like doing stats on keys, or doing anything but what the binary wants to do were terribly painful until Sequoia.
The Web of Trust was an interesting idea for a while, but failed to transition to the modern internet.
By the time you fix all the things what remains looks nothing like PGP, so it amounts to "all of it is bad".
TheCondor 1 day ago | parent
What's crazy is when it was concieved, we didn't have trusted strong cryptographic primitives. We did have DES but it wasn't trusted. We did have some of these crazy ideas that we all would have "secrets" and you might put those secrets encrypted on a disk in a vault and you'd not even want the feds to get them. Now we have all sorts of much more vetted crypto primitives, but the idea of actual secrets you'd keep in cold storage is largely dead. You're spot on that modern use cases need different APIs and tools and specialized solutions.
BLKNSLVR 1 day ago | parent
SecretDreams 1 day ago | parent
BeetleB 1 day ago | parent
leonidasrup 1 day ago | parent
" Surveillance capitalism is a concept in political economics which denotes the widespread collection and commodification of personal data by corporations. This phenomenon is distinct from government surveillance, although the two can be mutually reinforcing. "
dylan604 1 day ago | parent
I'm still glad that it existed as its mere existence seems to have pushed things in the right direction as far as protecting everyone's ability to use encryption if they chose. It just never became the panacea it was envisioned to be.
__MatrixMan__ 1 day ago | parent
It was pretty awkward to later emerge as the PGP expert at work. I was at that time a bit shy about explaining how I got so comfortable with it.
serbuvlad 1 day ago | parent
Otherwise, anyone who is using it at all will get court ordered and then, with our current system, you just lose.
Tor solves this by making traffic entirely homogenous such that any "it could be anyone" and by making nodes extraordinarily easy to host (such that any nerd can just leave one running 24/7). Even so there are way too few nodes.
But PGP-over-email is way too metadata leaky, and if you're doing anything that actually has a threat model, you need PGP-over-email to be itself common.
dylan604 1 day ago | parent
1718627440 23 hours ago | parent
dylan604 14 hours ago | parent
WolfeReader 1 day ago | parent
__MatrixMan__ 1 day ago | parent
upofadown 1 day ago | parent
Dunno that things have gotten much better over the years. End to end encryption is still fairly unusable to most. I think that rather than spending so much time on the cryptography we should instead work on a E2EE usability standard. Having everyone doing their own thing with respect to usability is not working out.
boomlinde 1 day ago | parent
It provides the tools necessary to implement a simpler workflow.
dylan604 1 day ago | parent
cowlevel 1 day ago | parent
weakened_malloc 1 day ago | parent
DharmaPolice 1 day ago | parent
wongogue 1 day ago | parent
wongogue 1 day ago | parent
traceroute66 1 day ago | parent
You can send password protected mails that the recipient can read in the browser given a pre-shared password. https://proton.me/support/password-protected-emails
GJim 1 day ago | parent
Mind. Blown.
oger 1 day ago | parent
jcranmer 1 day ago | parent
datas 1 day ago | parent
Joel_Mckay 1 day ago | parent
Thus, participants are pooled under 1 time constrained key exchange, participants sections origins are signed/time-stamped, and the ciphertext expires on a schedule.
Why? so at some future time side-channel key exfiltration can't be used to data mine the entire history of past tapped conversations/ciphertext. Even if a private signing key is stolen, it is difficult to rebuild the lost ephemeral key session.
Have a nice day. =3
sire-vc 1 day ago | parent
Joel_Mckay 1 day ago | parent
Depends what you do, and if your organization has a persistent clown infestation. Some big business folks still use email as a human to API interface.
Running out-of-band public keychains is not something most people will ever need. =3
dylan604 1 day ago | parent
traceroute66 1 day ago | parent
Your wording is not entirely accurate.
ProtonMail works perfectly well with external PGP. You can import third-party keys and IIRC it also supports WKD.
So its not "only another ProtonMail user".
IN ADDITION .... you can also send an encrypted, password protected message to a non-Proton Mail email address. The recipient can read it in the browser: https://proton.me/support/password-protected-emails
dylan604 23 hours ago | parent
Anything+PGP can be encrypted. You still have to use PGP which means creating public/private key pairs, store them correctly, and understand when to use the public key and when to use the private key. You still then need to know how to exchange keys in a trustworthy manner, but that's after you convince someone else to do all of that on their end as well.
So yeah, it's dead simple <facepalm>
KAMSPioneer 22 hours ago | parent
This could allow a single technical user with an elaborate PGP key and email setup to convince his or her social circle (or at least email circle) to switch to Protonmail and follow a set of (comparatively) simple steps to get Proton to recognize the key to their non-Proton address.
Thereby having PGP-encrypted conversations with users who don't know how PGP works, but followed their friends' instructions to use a slightly different webmail interface. Meanwhile the technical user can use a smartcard, a self-hosted email server, or other madness that a normal user would never tolerate.
traceroute66 24 minutes ago | parent
There is AFAIK only one other email service that offers a similar level of functionality, and that is Mailbox.org.
However the proton UI/UX experience for importing and managing keys is much better for the non-technical user in Proton. The UI/UX in Mailbox.org is messy.
"GMail+PGP or AOL+PGP or FastMail+PGP or $coolNameMail+PGP" is not the same thing and I hope the GP who replied to me knows that full well. ;)
tgsovlerkhgsel 1 day ago | parent
The correct operation for (even locally) marking "this key belongs to person X" is signing the key. Marking it as "trusted" indicates "this key is a CA that can create statements who other keys belong to", but it's easier to find/"understand".
So if you haven't first studied the details of the security model and terminology, you just start increasing the trust level on the key of your communication partner until the warnings go away, not realizing that by doing this, you've made that key a CA and the reason the warnings disappeared is because you now trust the self-signature (in addition to all other signatures the key issued).
alkonaut 1 day ago | parent
If we assume that the threshold of what is "difficult" is for example 1) installing a desktop application, or even running a deskop OS.
2) Running an email provider other than what you are already doing (gmail, hotmail, yahoo mail, ...), or switching email providers
3) Copying and pasting text or using files.
This was perhaps a viable thing to do for users in 2005 because if you were on the internet, chances are you at least had a desktop computer, and if you used email chances are you already had to struggle with an email client.
But now? Anything that isn't as easy as installing an app on your device (a device that isn't a full computer) is "difficult".
It's not that it's harder today, it's that everything else is easier (Like telegram/signal and other privacy-minded services), and that there are now 6 billion internet users and most never used a computer and never will.
zikduruqe 1 day ago | parent
I don't see how. You just type "gpg -e -r receipient@domain.com filename.txt". It doesn't get much simpler than that. It's not like you are using ffmpeg, imagemagick, or other programs with a hundred switches in it.
Also PGP/GnuPG is not only for email. I encrypt and decrypt hundreds and hundreds of payloads per day, programmatically between trusted and untrusted networks.
And it is mandatory for each employee to upload their public key to our keystore so that we can deliver private information to them securely over Slack, Teams, or other communication channels.
alkonaut 23 hours ago | parent
I assure you it is not that simple. For example, I'm a HN user, developer since 30 years. I know that you referred to what's known as a "terminal" or "shell" here, but that's already way WAY too difficult for 99.9% of users.
And even in my terminal I can assure you it won't work: "'gpg' is not recognized as an internal or external command, operable program or batch file."
I could install it. It would be a right pain though. and it doesn't help if the recipient of my email can't install it without me sending a long list of instructions!
Meanwhile my dad had zero problems installing signal. There's a difference to how easy it gets.
dylan604 23 hours ago | parent
Steve44 1 day ago | parent
The problem was only one other person I knew actually used it, it didn't really have a justifiable use for most people.
I did use the encrypted mountable drives for a while, that worked very well. I since moved to TrueCrypt and now onto Vercrypt and haven't used a PGP product for probably over 15 years.
Shame really but it just didn't get enough traction.
datas 1 day ago | parent
I also like the portability of openpgp.js its pretty versatile in my opinion.
forgotmypw17 1 day ago | parent
It used to be more of a concern without TLS, but now it's reasonably secure to use.
We use it for the user sessions, allowing the client to own their session and identity.
The browser generates the keypair and signs each post and login challenge, so the private key never leaves the client. The server only stores the public key (as a plaintext file in git) and verifies signatures with GnuPG, which means there's no password hash in the database to leak, and the identity is just a fingerprint anyone can audit. Using two independent implementations (OpenPGP.js on the client, GnuPG on the server) is a nice bonus.
gjvc 1 day ago | parent
jpnichols01 1 day ago | parent
tait 1 day ago | parent
That one turned out to be true…
https://www.propublica.org/article/the-nsas-secret-campaign-...
hughw 23 hours ago | parent
The only plausible way of processing that amount of traffic is a massive Orwellian application of automated voice recognition technology to sift through it all, searching for interesting keywords or searching for a particular speaker's voice.
Welp.