6 ms·
It'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
by samatman 6y ago
It'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
- rasengan 6y agoI think it depends on the type of communication being made, when, why, etc. For example, if someone wants to send you an anonymous message, they could just reply right here to this thread with some blob of PGP encrypted text, anonymously. Plausible deniability would exist and, as well, metadata could easily be obfuscated. Here's an example, but I'm not going to make a throwaway. -----BEGIN PGP MESSAGE----- Comment: GPG hQIMA9gXRUOEWVQSAQ/9FppY6pK4P6xErZw9/M9UXtrUmRhKIWzorfXctiji0e8z f/Qgx6sxlIHT5HHKvdhagMVcPL7GqdYUSlfNmiyXBq3jPvkYPzzFfxGeIRSefBQP pHqo0vsMz9lZ572rtx2iIfBkPd0WDbzKEABID2REetJSaFUARoAKsiOaNUhIfoqd rOnytETv63WBYVBdTimNgtkhTWtT9LVobrKv9EfTLfbErVgONWmuo3mXXRbeOswG 50nqT7LQrV/nnzKj0Eq5nVjaIHiTo9EXwQgs3MGl8ZFAV45MWJ+7Sw9sbD/MpXhv i/za17Z+MOsmZs0ja3iXq/8N+xKCqYJv2bMh9EzTZ6mOOwVDIUDi59+S7pA5QzJx xGTwppJ9XDajdsvg91H+DCWgc8/Ln7/5FeC4F2QMhnjrF7KiR9qsux1mZfQbRFIs T5krRzMOvbHgb3/br/wdxbWgIKYpVFJiUmIO502R0cWw3X6ni6zz9yybfHlzUCm3 FBDbi5NNY7tcs+gehtRcwhrjfDHoxRZ17oOnexmD9fYvQA5FWvt4UVG9TBwEawnh BvBxhkuAgcMue2FgsiYlcWQ214FoXFuJSPlG8d01VcDmPLG5kXbNftwlS61dl6yW dyk5yGZw9uR0BKpCuvDk7f8uURDj8p7t69+u2M08FPYyaNImtBtJV96ZWI1gjV3S NwFPb/UKnqc/xQc6asORi5r7Mp/0PDFuasoInR8pp5rmIYHaJYzTQfdNxuL3aD5w EAxDPMn+bCI= =3DBv -----END PGP MESSAGE-----
- deleted 6y ago[deleted]
- samatman 6y agoI was mildly disappointed that this doesn't appear to be encrypted to my key, since I have Keybase in my profile ;) The general shape of the argument against this, is you can use age, and avoid the many well-documented problems with the OpenPGP standard. More people have PGP keys, naturally, but that's a bit of a chicken-and-egg problem. By the time you're messing with cloak-and-dagger stuff like dead drops on public message boards, taking the extra effort to set up to use a better cryptosystem strikes me as relatively minor.
- rasengan 6y agoAh! I did encrypt it for: rsa4096/D817454384595412 2019-12-24 The formatting was messed up but it should be fixed now!
- 6y ago
- da_big_ghey 6y agoA promising contender to "replace" GPG in which you might be interested is age: https://github.com/FiloSottile/age https://github.com/FiloSottile/age It's based on ChaCha20-Poly1305 AEAD and the author is well respected in the crypto community.
- anta40 6y agoSo it's OK to use Age for sending secure emails? FYI, no I'm not in the millitary/intelligence agency. I'm just a software developer who like to send, say source codes or documents securely.
- mongol 6y agoInteresting. Does it have momentum behind it?
- tptacek 6y agoIt's the non-GPG general-purpose encryption tool with the most momentum, you can say that much. Something that surprised me when I researched this (I wrote a similar tool internally at my last job, along with writing a blog post about the inadequacy of PGP) is that general-purpose encryption doesn't really have as many use cases as you'd assume. The reason for that is that modern cryptosystems are purpose-built for applications. Messaging cryptography (and email is a messaging system!) is different from backup cryptography, which is in turn different from disk cryptography. Probably single most common application of general-purpose cryptography is for cryptographic tokens (most common subset: cookies). But even there, your cryptography tends to be specialized, in terms of what it doesn't have --- in particular, metadata, which tends to be an antifeature for tokens. (I like Age a lot and you should use it if it makes sense for your application, though plain-ol'-secretbox is probably the right call for your encrypted cookie).
- acqq 6y agoThe biggest problem for me (note: others may not care or consider that an advantage): implemented in go. I'm however interested in something as small as possible, with minimal number of dependencies and implemented in C. Yes I know it's an old language with its own issues. But C is the "highest level" I at this moment consider acceptable for something that should be a competition to GPG.
- uhtred 6y agoWhat's wrong with using gpg to communicate securely?
- theamk 6y agoYou can see it immediately above [0], where two people, both presumably very familiar with PGP, could not do so. [0] https://news.ycombinator.com/item?id=25248465 https://news.ycombinator.com/item?id=25248465
- uhtred 6y agoI don't believe they were both very familiar with PGP. It's not hard to use if you read: https://gnupg.org/gph/en/manual.html https://gnupg.org/gph/en/manual.html https://emailselfdefense.fsf.org/en/ https://emailselfdefense.fsf.org/en/ If was in a position where I had to take privacy very seriously, i.e. I am an activist or journalist... spending a couple of hours reading a manual doesn't seem much to ask.
- uhtred 6y agoIt's weird that I got down voted for asking a question. Going against the HN grain I guess.
- tptacek 6y agoFor signing cryptography, minisign is superior to PGP in every way I can think of, and it's a standard format (it's based off OpenBSD's package signing system).
- samatman 6y agoSounds great to me. When I search for "minisign gitlab" I find implementations of minisign, when I search for "GPG gitlab" I find out how to use my GPG key to sign git commits. When that changes, I'll switch. There's no sarcasm intended here whatsoever, to be clear.