7 ms·
GPG and Me (2015)
- forgotmypw17 6y agoI think GPG is an amazing, well-designed, resilient, widely-adopted, well-tooled, time-tested, mathematically-proven technology and standard. I think the only thing missing is a tolerable user interface that allows one-click key generation, one-click signing, and zero-click validation and verification. I think that the biggest oversight in using it today is our attachment to our "main" or "primary" key and trying to hold on to it, keep it safe, and if we use multiple keys, trying to keep it all in the same "tree" or keyring. We could be using it on every website and platform, and instead of creating an identity on the server, storing our identity locally, either on the filesystem, in LocalStorage, or some other way. In fact, that's exactly the model I'm using in my web-based forum system. "Registering" an account is just generating a key, and posting something "with my identity" is just signing it with PGP. In fact, I don't have a single feature which uses encryption yet. Only signing. Encryption is a bit of a red herring with PGP, I think verifiable signing and tooling for almost every platform and language in existence are its two real killer features. Without nation-state backing, I wouldn't trust it to keep something secure or private. On the other hand, its portability, adaptability, and compatibility is unmatched by any tool that I'm aware of. It allows you to have a portable identity that you can own and secure, and do it all in plaintext. And the content, identities, votes of my forum can be migrated, cloned, copied, synchronized among any other forum like it, or used outside of it with the most popular identity tooling in existence at your disposal. Just download a zip of text files and you're good to go!
- technion 6y agoIf you need any more evidence of PGP being used poorly, just look at Darknet markets. It's effectively the standard for communication with vendors there. Here's a first Google link for the matter: https://thebitcoinnews.com/how-to-encrypt-messages-with-pgp-when-using-darknet-markets/ https://thebitcoinnews.com/how-to-encrypt-messages-with-pgp-... We can quote: "Don’t let the name mislead you: Pretty Good Privacy (PGP) is better than good – it’s excellent." Definitely at odds with a lot of the community. But lets go on. One of the next Google hits is this fantastic "tool" often recommended for users: https://darknetmarkets.org/pgp/ https://darknetmarkets.org/pgp/ Yes, it's a website that generates your keys for you. Added bonus, "e-mail address: Required". Assuming people are smart enough to use their own local key generator, how many do you want to bet effectively dox themselves signing with real email addresses?
- upofadown 6y agoThe darknet howtos tend to emphasize that you should not use a real email address and not to use an online key generator. The online key generator you mentioned itself recommends not to use it and provides links to programs and howtos. PGP is actually the best available tool here. Something like Signal would involve way too much meta information leakage.
- samatman 6y agoIt's worth noting that my use of GPG is completely disjoint from everything moxie discusses here. I use GPG to sign things. Git commits, mostly, but I've used it to sign legal documents as well, and a small grab-bag of other cases. Is it the best for this application? It is not. Many of the objectionable aspects of the PGP standard apply to signing as well. But also, yes, it is: it's supported by GitHub and GitLab, and if any other way of signing commits is supported, I'm not aware of that. I'd be happy to switch to a better, modern cryptosystem for signing things, if it were adequately supported. What I never do, is use GPG for encrypted communication. Given moxie's particular claim to fame, I don't blame him for focusing on that application, and he is (of course) correct: if you're using GPG to communicate 'securely', stop.
- yosamino 6y ago> if you're using GPG to communicate 'securely', stop. But then what do I use instead ? I have run into the problem before and I can't seem to find a suitable replacement.
- tyingq 6y ago"it's supported by GitHub and GitLab, and if any other way of signing commits is supported, I'm not aware of that" X.509 is another option. https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#smime-commit-signature-verification https://docs.github.com/en/free-pro-team@latest/github/authe... https://docs.gitlab.com/ee/user/project/repository/x509_signed_commits/ https://docs.gitlab.com/ee/user/project/repository/x509_sign... https://github.com/github/smimesign https://github.com/github/smimesign
- psanford 6y agoThis is from 2015.
- tptacek 6y agoThings got worse after 2015, not better, for PGP.
- deleted 6y ago[deleted]
- tao_oat 6y agoMoxie is just one of several security experts who are fed up with PGP. For a similar article see [What’s the matter with PGP?][1] or [The PGP Problem][2]. [1]: https://blog.cryptographyengineering.com/2014/08/13/whats-matter-with-pgp https://blog.cryptographyengineering.com/2014/08/13/whats-ma... [2]: https://latacora.micro.blog/2019/07/16/the-pgp-problem.html https://latacora.micro.blog/2019/07/16/the-pgp-problem.html
- floatingatoll 6y agoFWIW, that markup doesn’t work here.
- bronson 6y agoIt’s still more readable than just inlining the urls.
- upofadown 6y agoMy response to "The PGP Problem": * https://articles.59.ca/doku.php?id=pgpfan:tpp https://articles.59.ca/doku.php?id=pgpfan:tpp
- tptacek 6y agoThis is a good response for people who believe "[PGP has an extensible record format] because a long term standard must be extensible". I think you would have trouble finding cryptography engineers who think this is a strong statement; the last 20-odd years of practical cryptography research have instead made a very strong case that the most "extensibility" you want in a cryptosystem is a version number. I think the rest follows from there. It's easy to mount of a defense of PGP if you just ignore cryptography engineering and focus on how important it is for tools to follow the same proven Unix-flavored design as Awk. Which, of course, is what PGP is: the Awk of cryptography.
- tptacek 6y agoThe interesting question isn't "how many cryptography engineers repudiate PGP"; it's "how many cryptography engineers stick up for it". I'd be interested in some examples of that. Are there any?
- geoah 6y agoOriginal discussion (2015) on this had some pretty interesting opinions on the matter, https://news.ycombinator.com/item?id=16057579 https://news.ycombinator.com/item?id=16057579
- ur-whale 6y agoMostly agree with the content of the article, but he's not offering anything in the way of anything better.
- chejazi 6y ago> Instead of developing opinionated software with a simple interface, GPG was written to be as powerful and flexible as possible. Moxie is the project lead for Signal, an encrypted messenger (https://signal.org/ https://signal.org/). That is what he ultimately offered.
- corty 6y agoWhich is myopically focussing on encryption, not identity, signing or authentication. You send your messages in signal to someone, with no means to properly verify whom you are sending to (except if you do a nonsensical secret (because signal doesn't tell you to do it) dance of "send non-secret hello, meet in person, verify fingerprints (which people are supposedly unable to understand), send the secret stuff") or who you are receiving from. Have fun sending all your messages c/o your friendly secret service manipulating the phone number exchange. There are things signal does better than GPG, and there are things it doesn't do at all. Which nobody tells you about until you are bitten by the resulting problems.
- ur-whale 6y agoLook, I don't want to criticize signal, which I believe is a very nice tool, and kudos to moxie for putting this together: however nice it may be, signal does not solve any of my problems, whereas gpg, which I agree with him, is an absolute dumpster fire, does (modulo great exertion).
- sneak 6y agoI think about this article a lot. I think this perhaps discounts the usefulness of GPG in specific professional applications. He's judging it on mass adoption; that's fine but it's not the kind of tool that will ever be adopted by most people. It serves a specific purpose (and shoehorning it into email isn't that) and for that purpose I (and other competent professionals) still use and trust it for that purpose. I am also excited about new tools (like age, which will also never have hundreds of millions of users) along these lines. I think some similar criticisms could be levied against, say, Adobe Premiere, even though it has an order of magnitude or two more users than PGP (although perhaps not when you consider every apt user in Debian and Debianlikes such as Ubuntu). Industrial software for trained professionals has a lot of sharp corners and footguns. Not all software is (or should be) Instagram. He's 100% right that GPG email sucks, though. Don't use GPG for email except when attaching secrets.
- surround 6y agoPerhaps the issue is with email itself. GPG is just a hack to make email secure (and it can’t even encrypt metadata). GPG has such a small user base that we could ditch it at any time, but email is so ubiquitous that we might be stuck with it for a long time yet.
- drexlspivey 6y agoAnother one from 2016: https://blog.filippo.io/giving-up-on-long-term-pgp/ https://blog.filippo.io/giving-up-on-long-term-pgp/
- deleted 6y ago[deleted]
- aborsy 6y agoPGP is secure and usable if you can manage keys. The issue with the adoption is not much the protocol itself: Average user has no idea what is (asymmetric) encryption and will never manage keys; the process has to be automated and be provided by default. To use PGP, you need GnuPG, and, say, Thunderbird+Enigmail. These are the barriers to adoption not the PGP protocol (which still could be updated). Automating key management and encryption is what ProtonMail and other apps are trying to do. Google could include PGP in Gmail and it will be widely adopted over night.
- floatingatoll 6y agoThis post is not a complaint about GPG, it’s a complaint about the people who use GPG to contact Moxie. > There just seems to be something particular about people who try GPG and conclude that it’s a realistic path to introducing private communication in their lives for casual correspondence with strangers. Moxie’s objection is that people who initiate with GPG are more often a waste of his time than people who do not. I think Moxie is right, and remains right today, about this point. I would consider it impolite/rude to use GPG to email someone with whom I have no existing relationship, unless explicitly directed to do so for professional use. When PGP was young I would attach a signature, but over time I found that this cheapened my conversations and set a tone I didn’t consider acceptable to use with others. If someone blind emailed me with a GPG encrypted message, I would delete it without attempting to decrypt it and block the sender, because clearly they have no clue what they’re doing, and I don’t have time for that. So, then, I remain in agreement with the (2015) Moxie that posted this.
- JasonFruit 6y agoCan you really tell it's rude without looking at the content of the message? It might be odd, and it's likely to be unnecessary and, yes, rude; but I can imagine situations where I might be contacted unexpectedly with a GPG-encrypted message for a good reason.
- floatingatoll 6y agoI can too, but that’s already factored into my choices.
- brazzy 6y ago> This post is not a complaint about GPG, Yes, it is. Read beyond the first section. > it’s a complaint about the people who use GPG to contact Moxie. Even that part is in fact a veiled complaint about GPG: it basically says that GPG's design and implementation are so crufty that it acts like some kind of negative personality filter: the only people who use it volountarily are somehow unpleasant to correspond with (he never actually specifies in what way).
- 6y ago
- upofadown 6y agoI've recently spent a fair bit of time thinking about where encrypted messaging has been and where it ended up... Yes, PGP sucks. Unfortunately everything else sucks as well. Signal Messenger is as good an example as anything. To use it effectively you need to know these concepts: * What safety numbers are. Why you need to use them to establish an identity for a contact. Why you need to do something when they unexpectedly change. What that something is that you need to do. * Why you can't keep around old messages if you want forward secrecy. What forward secrecy is and why you might want it. * What deniability is. What you have to do if you want to attempt to exercise it. Note that Signal ended up making it significantly easier to ignore the change of safety numbers some years ago. The users simply were bothered with no idea of why it was important. Public key cryptography is complicated and involves multiple basic concepts that need to be learned if you are going to use it for messaging. Making things more complicated and adding features as in the case of Signal protocol does not help if it adds to the list of concepts. We haven't yet come to terms with the basic stuff. There seems to be a cycle here. Someone comes out with a cool new thing. Regular people fail to be able to use that thing. No one seems to know why. Repeat. Signal is a good current example of that. The thing is, the root cause has been known for something like 20 years now. I will leave with a quote from the classic encrypted messaging study, Why Johnny Can't Encrypt: >... it is clear that there is a need to communicate an accurate conceptual model of the security to the user as quickly as possible. The smaller and simpler that conceptual model is, the more plausible it will be that we can succeed in doing so.
- tptacek 6y agoIt's interesting to see a critique of Signal and defense of PGP premised on how difficult it is to verify safety numbers, given that the dominant APIs for PGP release unverified plaintext to callers, with verification passed out of band.
- lmm 6y agoPGP lacks a good library implementation. The remedy for that is not creating a new protocol with radically different properties, one that's difficult to analyse and gives up important properties. The remedy is writing a good library implementation.
- jchook 6y ago> Instead of developing opinionated software with a simple interface, GPG was written to be as powerful and flexible as possible. It’s up to the user whether the underlying cipher is SERPENT or IDEA or TwoFish. IMO GPG doesn't owe its lack of widespread adoption to its flexibility, learning curve, code cruft, forward secrecy, or anything of the sort. Its various usability issues do not preclude the creation of an opinionated and easy-to-use GUI front-end. Corporations like Google and the government want to read your email. They could invest in private email communication but they choose not to. Arguably the network effects of widespread adoption of Gmail/Yahoo/etc even stifle folks pushing for GPG adoption. While Gmail claims they no longer "read" your email contents for ad purposes, your ISP most likely does[1], and no doubt Google still uses the data for something. According to Gilens et al[4], large corporations greatly influence policy decisions, and now we have the entire Western world trying[2] (and sometimes succeeding[3]) to effectively outlaw private communications. FastMail made a (thin) argument against using GPG[5], citing various problems (like losing key = losing email, and email search becomes hard). They also wax on some "transmit your key" nonsense. However, none of this seems to stop ProtonMail from making excellent use of GPG. The OP envisions a future, better GPG where we "start fresh with a different design philosophy" that includes things like forward secrecy. IMO global adoption is equally as important as the technology under the hood. Even if we started with GPG and upgraded to a new protocol later, the tooling, integrations, and ecosystem would benefit. 1. https://www.consumerreports.org/consumerist/house-votes-to-allow-internet-service-providers-to-sell-share-your-personal-information/ https://www.consumerreports.org/consumerist/house-votes-to-a... 2. https://matrix.org/blog/2020/10/19/combating-abuse-in-matrix-without-backdoors https://matrix.org/blog/2020/10/19/combating-abuse-in-matrix... 3. https://fee.org/articles/australia-s-unprecedented-encryption-law-is-a-threat-to-global-privacy/ https://fee.org/articles/australia-s-unprecedented-encryptio... 4. https://scholar.princeton.edu/sites/default/files/mgilens/files/gilens_and_page_2014_-testing_theories_of_american_politics.doc.pdf https://scholar.princeton.edu/sites/default/files/mgilens/fi... 5. https://fastmail.blog/2016/12/10/why-we-dont-offer-pgp/ https://fastmail.blog/2016/12/10/why-we-dont-offer-pgp/ 6. https://tools.ietf.org/html/draft-brown-pgp-pfs-03 https://tools.ietf.org/html/draft-brown-pgp-pfs-03
- quadrifoliate 6y ago> The journalists who depend on it struggle with it and often mess up (“I send you the private key to communicate privately, right?”), the activists who use it do so relatively sparingly (“wait, this thing wants my finger print?”), and no other sane person is willing to use it by default. I used to think that the GPG web-of-trust verification in person was antiquated and no one would do it in practice. Which they don't. With Signal, when someone changes their phone, or reinstalls Signal, or one of five other things, I am supposed to...verify their "safety number" in person. I am not smart enough to make meaningful comments about cryptography, but the expectations from the user to verify things in real life seem the same in both cases. Am I just wrong here, or understanding something wrong? I swear everyone I talk to on Signal has changed their safety numbers at least once in the last couple years. Should I not talk to them any more until I verify those in person?
- shawnz 6y agoYou probably don't need to verify just to tell someone "hello" or exchange other non-secret conversation. But it would be wise to verify before you plan a secret conspiracy with the person.
- deleted 6y ago[deleted]
- movedx 6y ago> Should I not talk to them any more until I verify those in person? It depends on your threat model. If you're a journalist talking to sources, then you should probably put down the phone and reach out through some other equally secure channel to confirm they're the ones who have changed their safety number (and even then, at this kind of level I'd have an "under duress" safe word.) If you're like me and you're browsing Hacker News in your underwear shouting at people's posts because they're wrong about Go, you're probably OK to assume your mate just changed their phone.
- tareqak 6y agoI have most of my Signal contacts also belong to a group on Signal. When I see the message for a contact’s verification number changing, I ask the contact in the Signal group if they got a new phone.
- makach 6y agoGPG is a specific tool for specific messages. It represent freedom and privacy. I have bigger problems with email than I have with GPG.
- dm319 6y agoI get the problems with email encryption, but what do people think of email signing? It's a shame it's so hard to do, but I always thought it'd be a good protection against phishing.
- nobody9999 6y ago>I get the problems with email encryption, but what do people think of email signing? It's a shame it's so hard to do, but I always thought it'd be a good protection against phishing. I think email signing is wonderful. In fact, my email client (Thunderbird) is configured to sign all messages sent by my primary identity. For many years, I used Enigmail, until Thunderbird integrated the functionality a few months ago. However, the value of signing is diluted significantly by the narrow adoption and ignorance of the greater populace. As an example, I was exchanging emails with my financial advisor and giving them specific instructions on the disposition of certain funds. Having a GPG signature is great for this, since they can confirm that the email hadn't been modified in transit. But rather than being glad that I cryptographically signed my instructions, I received a phone call saying something along the lines of "there's all this junk at the end of your email. We're concerned it's been tampered with." When I explained what the "junk" was, rather than asking how to confirm the signature in the future, I was met with confusion and the distinct impression that I was acting in an inappropriate way. Their solution: All instructions from me must be verbally confirmed via telephone. Not that such verification is a bad thing, but the complete ignorance, then rejection of a perfectly valid confirmation mechanism (without any interest in learning how to secure their communications) by folks who should care about such things left me flabbergasted. As long as the above is the norm, email signing (and I still do it where it matters) will be much less valuable than it could be. More's the pity.
- dm319 6y agoThat's frustrating. It's also very variable how different email clients deal with signing. My work outlook will flag it with a sort of rosette, whereas Gmail doesn't mark it in any obvious way.
- nickthemagicman 6y agoI wish Moxie blogged still. I love every single one of his few blogs.
- aborsy 6y agoMessaging apps such as WA or Signal have no means of verifying keys, require phone numbers tied to the users’ real identity, operate based on a client-server model in which the server could be compromised by well-resourced agencies and require black-box phones that are not secure against phone manufacturers and agencies with whom they collaborate. Users should be warned of perils of phones not quite under their control. Set up a proper FOSS machine that you understand, and use own encryption (be it PGP or some other tool serving the same purpose).
- kmwyard 6y agoSignal requires phone numbers because of taking care of users' privacy. Signal's choice to require a phone number is due to storing a contact list on a local machine to protect users' metadata. And PGP is never as secure as Signal or Other Encrypted Messenger (WhatsApp). Many Cryptographers blamed about weak security of PGP (https://latacora.micro.blog/2019/07/16/the-pgp-problem.html https://latacora.micro.blog/2019/07/16/the-pgp-problem.html, https://latacora.micro.blog/2020/02/19/stop-using-encrypted.html https://latacora.micro.blog/2020/02/19/stop-using-encrypted...., https://blog.cryptographyengineering.com/2014/08/13/whats-matter-with-pgp/ https://blog.cryptographyengineering.com/2014/08/13/whats-ma..., https://blog.filippo.io/giving-up-on-long-term-pgp/ https://blog.filippo.io/giving-up-on-long-term-pgp/) and even Edward Snowden doesn't use it now (https://twitter.com/Snowden/status/1175437588129308672 https://twitter.com/Snowden/status/1175437588129308672).
- deepstack 6y agoThey could also just ask for an email, like wire does. Edit: or generate a UUID type random string for each new device.
- kmwyard 6y agoThis is because unlike Signal, the wire store user contact is on the server. (https://www.vice.com/en/article/gvzw5x/secure-messaging-app-wire-stores-everyone-youve-ever-contacted-in-plain-text https://www.vice.com/en/article/gvzw5x/secure-messaging-app-...)
- Reingohya 6y agoOne aspect that most GPG critic misses is the identity management capability of GPG. GPG is almost only publicly available libre solution to create an immutable online identity where people can prove their statements. More on this can be read at: https://oyd.org.tr/en/articles/defense-of-gpg/ https://oyd.org.tr/en/articles/defense-of-gpg/