News for hackers. Stuff that matters.
Re:21 years after the request OpenPGP support gets added to ... by Quekid5 on Thursday September 17, 2020 @08:08PM (#24511486)
> GnuPG is more of a CLI "library" to interface with it

It abjectly fails at that. It's just awful to interface with.

Re:21 years after the request OpenPGP support gets added to ... by rendx on Thursday September 17, 2020 @08:27PM (#24511628)
Agreed. It has been long overdue that alternative OpenPGP implementations exist that try to address some of the peculiarities of GnuPG -- most of which are [still] there because its founder wants to preserve compatibility at all costs to support some of its long-term institutional users. And, yes, dealing with these peculiarities should not the responsibility of end users, but of further abstraction layers built on top of it (of which there are only a few, and all of them focused on the email use case).

The constant confusion between OpenPGP (the standard) and GnuPG (one implementation) has led many users to look elsewhere, which is unfortunate, but has also led many developers to look elsewhere, which is just sad.

Yes, trying to work within the existing standardization bodies can be very painful and disheartening, but the few people who try and survive in that space can use every good soul willing to assist.

The OpenPGP community has done hundred times more than Signal for the state of security on the Internet, and I'm sure it will continue to do so. Signal is great, and pushed the limits quite far (and still does), and I'm very grateful that it exists and use it every day.

Re:21 years after the request OpenPGP support gets added to ... by btilly on Thursday September 17, 2020 @09:05PM (#24511879)
The OpenPGP community would do more for security if they listened to serious cryptographers and began recommending better solutions.

See https://latacora.micro.blog/2019/07/16/the-pgp-problem.html for more on that. And it isn't hard to find lots and lots of cryptographers agreeing with the thesis.

Re:21 years after the request OpenPGP support gets added to ... by ifmpx on Thursday September 17, 2020 @09:48PM (#24512119)
People in this industry use OpenPGP because it's flexible and amendable to almost any usecase you can think of. "Better solutions" are usually indeed better but are also so specialized for their purpose to the point that they can't be easily used for any other purpose.

OpenPGP is used to secure everything from simple messages and email to authenticating OS updates for most servers today.

Should they use something more specialized now that it exists? Sure, but that an argument for PGP not against it; PGP is useful in situations where no specialized solutions exist or are inadequate.

Until something comes along that can cover every situation where OpenPGP is useful, I can't see people stop using it (much to the dismay of the 5 vocal crptologists that keep arguing against it).

Re:21 years after the request OpenPGP support gets added to ... by tptacek on Thursday September 17, 2020 @11:07PM (#24512577)
It's telling that the most common example of a widespread use of PGP (modern messaging applications exchange more messages in a day than OpenPGP has ever exchanged) is software update schemes, because software update cryptography is both a solved problem (just use signify) and doesn't have network effects; it's a "trust anchor" application.

At least with PGP email, you can make the argument that PGP sticks around because people don't want to recreate contact lists. But even that argument doesn't apply to update.

Re:21 years after the request OpenPGP support gets added to ... by somedude11 on Friday September 18, 2020 @02:20AM (#24513513)
Backup, archivization, password managers, the list is long. Duplicity has many users: http://duplicity.nongnu.org Pass is also pretty popular on HN: https://www.passwordstore.org Both use GPG.
Re:21 years after the request OpenPGP support gets added to ... by stormbrew on Friday September 18, 2020 @02:58AM (#24513745)
I use pass and I would switch in a heartbeat to a fork of it that used ssh keys or something similar instead of gpg. For something so amazingly simple and useful, its dependence on the klunky mess that is gpg key management is an anchor that weighs it down.
Re:21 years after the request OpenPGP support gets added to ... by somedude11 on Friday September 18, 2020 @03:30AM (#24513963)
Key management is a burden in every cryptosystem. I'm using KeePass and can recommend it, it works well.
Re:21 years after the request OpenPGP support gets added to ... by wglb on Friday September 18, 2020 @02:33PM (#24520294)
Would you know if it failed?
Re:21 years after the request OpenPGP support gets added to ... by somedude11 on Saturday September 19, 2020 @06:02PM (#24530601)
If it would "fail" and there would be no consequences so I could't tell if it failed or not - would it make a difference?
Re:21 years after the request OpenPGP support gets added to ... by wglb on Sunday September 20, 2020 @08:10PM (#24538520)
If the failure were discovered by you a year later, realizing that all you thought was protected was in an adversary's hands.

I'm suggesting that "seems fine so far" is not effective at evaluating solidity of cryptographical usage.

Re:21 years after the request OpenPGP support gets added to ... by trishankdatadog on Thursday September 17, 2020 @11:49PM (#24512799)
> software update cryptography is both a solved problem (just use signify)

Well, just use TUF [1] and in-toto [2] ;)

[1] https://theupdateframework.io/

[2] https://in-toto.io/

Re:21 years after the request OpenPGP support gets added to ... by theamk on Friday September 18, 2020 @04:13PM (#24521403)
Note that TUF is great for things with multiple contributiors (think npm or pypa).

For the simple case of "a single publisher publishes update for a single product", TUF is an overkill. Something like signify or seccure will be way easier to set up and use.

Re:21 years after the request OpenPGP support gets added to ... by trishankdatadog on Monday September 21, 2020 @02:11PM (#24546574)
signify is nice when key distribution, revocation, and rotation is handled for you... but how do you do that securely for many different publishers on a single repo?
Re:21 years after the request OpenPGP support gets added to ... by btilly on Thursday September 17, 2020 @10:47PM (#24512459)
OpenPGP is used to secure everything from simple messages and email to authenticating OS updates for most servers today.

And for MOST of the places that it is used, it gets screwed up in some way that makes it not as secure as the people using it thought that it was.

Stop and think carefully about that statement. And repeat it to every person you meet who thinks that they are solving their problems with OpenPGP.

Re:21 years after the request OpenPGP support gets added to ... by ifmpx on Friday September 18, 2020 @10:11AM (#24516989)
What do you mean by PGP "not [being] as secure as the people using it thought that it was"? Can you mention something specific?
Re:21 years after the request OpenPGP support gets added to ... by btilly on Friday September 18, 2020 @02:21PM (#24520142)
Here is something specific.

Due to the complexity of the PGP system, there are a plethora of downgrade attacks. Where something that was supposed to be at one level of security can be tricked into doing something much less secure. See https://twitter.com/xmppwocky/status/1291144278953955328, https://mailarchive.ietf.org/arch/msg/openpgp/JLn7sL6TqikUf-..., and https://www.eff.org/deeplinks/2018/05/pgp-and-efail-frequent... for three different examples of such attacks against PGP in recent years.

Re:21 years after the request OpenPGP support gets added to ... by upofadown on Friday September 18, 2020 @02:55PM (#24520582)
The first one appears to be some sort of joke.

The second one is just yet another person discovering that the MDC check can be stripped off a message.

The third one seems to be just EFAIL which is not a downgrade or any attack really against PGP.

Re:21 years after the request OpenPGP support gets added to ... by jrochkind1 on Thursday September 17, 2020 @09:59PM (#24512193)
What industry do you mean by "this industry"? Just... computing?

I didn't know OpenPGP was used to authenticate OS updates for most servers today. Can you give me a place to find out more about that; are you talking about a specific OS?

Re:21 years after the request OpenPGP support gets added to ... by somedude11 on Friday September 18, 2020 @06:34AM (#24515050)
Packet managers on pretty much every Linux distribution use GPG for verifying packages.
Re:21 years after the request OpenPGP support gets added to ... by aptmiguk on Friday September 18, 2020 @05:34AM (#24514749)
It's used to digitally sign software, not encrypting.
Re:21 years after the request OpenPGP support gets added to ... by XMPPwocky on Thursday September 17, 2020 @09:06PM (#24511888)
What is a good non-email use case for the PGP format?
Re:21 years after the request OpenPGP support gets added to ... by ifmpx on Thursday September 17, 2020 @09:50PM (#24512139)
Any usecase forwhich no specialized solution already exists. Source code signatures and Apt/RPM packages are good examples of this.
Re:21 years after the request OpenPGP support gets added to ... by XMPPwocky on Thursday September 17, 2020 @10:31PM (#24512352)
What does OpenPGP bring there? At least GnuPG has the benefit of being a tool that's present on many system and which is capable of verifying signatures.

If you're not using GnuPG, you can pick any format you want! What does OpenPGP add? Everything I can think of is a negative.

Re:21 years after the request OpenPGP support gets added to ... by gsich on Thursday September 17, 2020 @11:28PM (#24512679)
OpenPGP is the standard, gnupg is a implementation.
Re:21 years after the request OpenPGP support gets added to ... by XMPPwocky on Thursday September 17, 2020 @11:34PM (#24512709)
Right, so why talk about the standard when you mean, specifically, GnuPG?

If you want an explanation of why GnuPG is dangerous for anything besides email, let me know. But parent post was very specifically NOT about GnuPG- it was about OpenPGP.

Re:21 years after the request OpenPGP support gets added to ... by gsich on Friday September 18, 2020 @06:26AM (#24515013)
because gnupg is not the only implementation.
Re:21 years after the request OpenPGP support gets added to ... by XMPPwocky on Friday September 18, 2020 @08:28PM (#24523409)
Yes, that's what I said, and why I was asking!

What does the OpenPGP format bring to the table, BESIDES HAVING A COMMONLY AVAILABLE IMPLEMENTATION IN GNUPG?

Re:21 years after the request OpenPGP support gets added to ... by gsich on Saturday September 19, 2020 @01:14AM (#24525312)
It's the generic term.
Re:21 years after the request OpenPGP support gets added to ... by upofadown on Friday September 18, 2020 @08:19AM (#24515724)
It is used routinely on the dark nets by pasting encrypted messages into web forms.
Re:21 years after the request OpenPGP support gets added to ... by rlpb on Thursday September 17, 2020 @08:13PM (#24511510)
Who said that it's for a user to interface with directly? mutt interfaces with it perfectly fine, and mutt's PGP UX is also fine.