6 ms·
I'd like to gingerly suggest that this is not the way a project that has deliberately set as its adversaries hostile world governments should respond to a trivi
by tptacek 7y ago
I'd like to gingerly suggest that this is not the way a project that has deliberately set as its adversaries hostile world governments should respond to a trivial, predictable† vandalism attack.
Rather, if they're serious about what they're doing – Hansen, in a related document, talks about the "good advice" he gave to dissidents in Venezuela about using GnuPG – they should thank whoever did this. This attack apparently only hit the accounts of two maintainers – that is, two people who are, or should be, exquisitely capable of distilling signal from the attack, and making sensible decisions to mitigate it going forward.
A serious attacker, on the scale of the adversaries this project has, again, deliberately selected for itself, wouldn't waste the vulnerability this way. They'd wait for the most opportune time and apply the attack broadly to accomplish their own state-level goals.
This isn't the first time the GnuPG ecosystem has responded this way to attacks. They similarly (and dishonestly) attacked the Efail researchers, and in the same document I referred to above, Hansen attacked EFF and Micah Lee for publishing exploit code; "Academic freedom should not be construed as permission to publish attack tools against a critical service with known vulnerabilities". This is what you'd expect from one of the vendors posting about a tempfile race condition on the CORE clique list in 1992; it's preposterously out of step with how the field handles vulnerability research today.
If you're relying on GnuPG for anything serious, you should be alarmed at the way they react to security setbacks.
† Indeed, repeatedly predict-ed
- mzs 7y agoindeed: https://gist.github.com/rjhansen/f716c3ff4a7068b50f2d8896e54e4b7e https://gist.github.com/rjhansen/f716c3ff4a7068b50f2d8896e54...
- danShumway 7y agoA vulnerability in mission-critical software has been known for years, and they're mad that finally someone got fed up enough to publicly draw attention to it in a way that couldn't be ignored or dismissed by the maintainers? I don't think it's the EFF putting activists at risk here.
- tptacek 7y agoI think everyone on this sub thread is on the same page about this.
- michaelt 7y agoMy impression from the article was less that they'd personally made the decision hostile world governments were their adversary, and more that they'd ended up looking after some poorly-understood software none of them really knew how to change that made that decision 20 years ago.
- tptacek 7y agoSee the document linked alongside your comment.
- acqq 7y agoLuckily there is: https://news.ycombinator.com/item?id=20313577 https://news.ycombinator.com/item?id=20313577 Presenting: https://gitlab.com/hagrid-keyserver/hagrid https://gitlab.com/hagrid-keyserver/hagrid and https://keys.openpgp.org/about https://keys.openpgp.org/about
- stingraycharles 7y agoI use GPG quite a bit. I sign my git commits with it, occasionally use it to securely transfer files with people, and appreciate to have everything coupled with my Yubikey. What are reasonable alternatives to this right now? If I’m not using the keyservers, it’s not that bad, right?
- danShumway 7y agoThis is my reaction as well. This seems bad, but... what should I do? What's the alternative? I've seen multiple people say that PGP in general is kind of bad and it would be easy for the tech industry to write a secure alternative if it really wanted to. Cool, but that's not useful right now to ordinary people like me who aren't crypto experts who are trying to decide how we should sign/encrypt messages. I have no idea what I would use as an alternative to PGP.
- tptacek 7y agoTo send messages, use a secure messenger, like Signal or Wire. Don't use PGP.
- faho 7y agoOkay, and to sign commits or emails? To encrypt files?
- tptacek 7y agoDon't encrypt and sign emails.
- danShumway 7y agoThis is not a realistic solution. SMS-sized messages are the least hard part of this for me. What I want is to be able to point at a file or folder on my computer and say, "sign that with a public key so I can prove I wrote it" or "encrypt that with someone else's public key so only they can read it". At that point, I don't necessary care all that much about how the file gets sent over the network. It doesn't need to be integrated into email, but it does need to be a low-level enough operation that I can use it on an arbitrary block of text, file, or folder of any size. Is there a replacement that does that? I use Signal, and it's great. But Signal is not a replacement for PGP, it's a replacement for one, very specific use-case for PGP.
- diafygi 7y ago> This isn't the first time the GnuPG ecosystem has responded this way to attacks. Hmmmm, I think this is a bit of squeaky wheel situation going on. Remember that the sks keyserver pool is mostly a decentralized group of volunteers running a server as a hobby. So you can have all types of people operating keyservers in the pool. For instance, I've been running a keyserver in the pool for several years. However, I don't blame the attackers like you describe. In fact, I'm openly asking around for a mentor to build a keyserver implementation that can better deal with these kinds of flooding situations. Anyway, even though I can totally understand why operators get mad and lash out at people trying to take down the service they are running as a hobby to try to help activists communicate securely, I want to stress that that reaction isn't representative of the many of us in the pool.
- tptacek 7y agoThe fact that it is simultaneously a "hobby" and an "attempt to help activists communicate securely" is emblematic of the whole problem here. Either way, the time for Hansen to have warned people about the keyservers was when he first became aware of the vulnerability ("well over a decade" ago), not right after it got exploited on him personally. Everything about this response, from the personal offense he's taken to the lashing out he's done against vulnerability research to the apparent decade-long delay in notification, is unserious and unworthy of a project that purports to protect dissidents against governments.
- diafygi 7y ago> The fact that it is simultaneously a "hobby" and an "attempt to help activists communicate securely" is emblematic of the whole problem here. Isn't that the way it usually gets done for most non-profit altruistic efforts, though? If I'm a church and run a soup kitchen for the homeless, the volunteers who come in an prepare meals and serve patrons are probably not going to be trained professional chefs. They are going to be people who just want to help and are volunteering as a hobby to try to do some good. I'm sure soup kitchens deal with this kind of situation all the time, where you have a volunteer complain about this or that, and then an outsider say that soup kitchen is a shit show. That doesn't mean soup kitchens shouldn't exist. It's just the drama you have to deal with when running a soup kitchen.
- yegortimoshenko 7y agoCan confirm, I've reported a similar attack [1], along with a few other vulnerabilities, and also published exploit tools. I ended up getting legal threats from two people that I see frequently posting to sks-devel@ mailing list. Additionally, Robert (GnuPG maintainer who wrote this Gist) has attacked [2] another person who wrote a proof-of-concept filesystem on top of SKS that was intended to highlight how broken the design is. I have not seen a single open source community that would treat full disclosure with such contempt. At this point SKS network continues to run exclusively on community goodwill. This attack seems to be specifically targeted on GnuPG maintainers, if attacker were to deliberately try to break SKS, they would target someone like Linus Torvalds. Alternatively, there are other published vulnerabilities with exploits that allow to take the whole SKS network down within half an hour, which were published more than a year ago. And yet, those have not been used, so far. [1]: https://bitbucket.org/skskeyserver/sks-keyserver/issues/57 https://bitbucket.org/skskeyserver/sks-keyserver/issues/57 [2]: https://twitter.com/robertjhansen/status/1017863443356020738 https://twitter.com/robertjhansen/status/1017863443356020738
- mirimir 7y ago> I have not seen a single open source community that would treat full disclosure with such contempt. So what are the acceptable limits of this "full disclosure"?
- yegortimoshenko 7y agoI should have said "any disclosure": EFail was coordinated (6 months notice [1]) and yet GnuPG officially downplayed the risk [2], launched #effail counter-campaign and blamed researchers for bad disclosure [3]. With regards to any of the existing SKS exploits specifically: even if any of them were to undergo coordinated disclosure, it wouldn't have helped: trollwot has been available for 5 years, both keyserver-fs and sks-exploit -- for more than a year. Embargoes don't last that long. All three tools still work. What GnuPG Project effectively tries to do is to stop people from writing about any security problems period, especially those that are hard to fix. [1]: https://gist.github.com/tqbf/2ef6bce7d16e9d3e76d790fd99c96187 https://gist.github.com/tqbf/2ef6bce7d16e9d3e76d790fd99c9618... [2]: https://twitter.com/gnupg/status/995936684213723136 https://twitter.com/gnupg/status/995936684213723136 [3]: https://twitter.com/gnupg/status/996856990818283521 https://twitter.com/gnupg/status/996856990818283521