News for hackers. Stuff that matters.
Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @05:36PM (#11726188)
You have this story backwards and you should correct your post. Moxie and OWS didn't threaten to sue Wire. Wire sued Open Whisper Systems. That suit made, but did not substantiate, a claim that OWS asked for money. OWS denies that. I believe OWS, and not Wire.

The genesis of this claim comes from Wire having used GPL'd OWS code, apparently for the Signal protocol, without complying with the GPL. OWS demanded that Wire comply with the GPL.

Apparently, upon being told that they would be required to comply with the GPL, they inquired instead about dual-licensing. That's standard practice when a company adopts GPL code for their own product but doesn't want to comply with the GPL: they instead have to pay for a private license.

Instead of paying for a private license, Wire has apparently chosen to comply with the GPL instead, and withdrawn their complaint. I think that was the right choice.

The knives are definitely out for Signal now that its importance is being recognized by a wider audience. Complaints about Signal are, unsurprisingly, getting dumber and more venomous. For instance, last week, Nadim Kobeissi (the author of Cryptocat, a competing secure messaging system that I think you should avoid) was on Twitter talking about how impossible a GPL violation could have been given that Wire's Signal implementation is in Rust.

Re:Open Whisper Systems Partners with Google on End-To-end E... by dcposch on Wednesday May 18, 2016 @11:16PM (#11727710)
Nadim had a legitimate and reasonable question.

For those who don't know, here was Thomas Ptacek recently joking about Nadim's penis: https://mobile.twitter.com/tqbf/status/705825790529662976

Here he is telling Nadim "go fuck yourself, forever": https://mobile.twitter.com/tqbf/status/705900243313758208

This is unprofessional. That kind of bullying is especially unacceptable coming from someone who has a lot of money and a pretty big audience, directed at someone who is young and just starting out.

I think Hacker News should be better than this.

Re:Open Whisper Systems Partners with Google on End-To-end E... by DanBC on Thursday May 19, 2016 @03:31AM (#11728631)
> I think Hacker News should be better than this.

I'm not sure how linking to twitter supports your comment that HN needs to improve. If he'd said that on HN he'd have been (I assume) banned. dang is constantly asking people not to be mean or dumb, or banning people for being mean.

Re:Open Whisper Systems Partners with Google on End-To-end E... by dcposch on Thursday May 19, 2016 @06:16AM (#11729132)
That's fair. Here on HN, tptacek writes negatively about Nadim surprisingly often. I do think it's bullying, though you're right that it's more subtle than his behavior on Twitter.

dang is great. I just wish we had a bit less negativity.

--

Finally, a brief history for readers who dont know yet:

* Cryptocat v1 was a cat themed anonymous chat webapp with very broken homebrew encryption. It was basically Nadim's crypto learning project as far as I can tell when he was ~20 years old.

* Snowden allegedly used it at some point. Oops.

* Crypto experts reviewed it and found significant flaws. Tptacek wrote about how terrible it was, how JS crypto is Considered Harmful, how amateurs shouldn't write crypto because they could get someone killed, etc

* Cryptocat v2 a desktop chat app using Axolotl / Signal Protocol for e2e encryption. Nadim is a phd student now. It's a new and totally separate codebase.

tldr; there's no reason to assume that Cryptocat v2 sucks in the ways the original did. It may be totally sound.

(I have no involvement w the project and have not reviewed the code.)

Re:Open Whisper Systems Partners with Google on End-To-end E... by anon1385 on Thursday May 19, 2016 @06:50AM (#11729239)
>If he'd said that on HN he'd have been (I assume) banned

No he wouldn't.

https://news.ycombinator.com/item?id=5883501

https://news.ycombinator.com/item?id=6098474

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Thursday May 19, 2016 @12:07AM (#11727893)
You know what? It's not part of my argument that I'm above all the vitriol and venom in amateur secure messaging. You're doing a fine job of positioning yourself right in the middle of it as well. As long as the typical HN reader leaves this thread understanding how much bullshit drama is attached to this field, I don't really care one way or the other what their opinion of me is.

The knives are out for Signal. It's not hard to see that. Of the "independent" messaging schemes, Signal is probably the only one that has a chance of relevance 5 years from now. Everyone else is working on something that will be a checkbox feature for Apple, Google, Microsoft and Facebook in less time than that.

I'm happy about that. Clearly, not everyone else is.

Re:Open Whisper Systems Partners with Google on End-To-end E... by uola on Thursday May 19, 2016 @12:37AM (#11727998)
"Signal is probably the only one that has a chance of relevance 5 years from now"

Which is exactly why I, even though I don't care much for drama (infosec drama especially), find myself "complaining" about Signal from time to time. Because we are going to have to live with it. If I could go back and "complain" about PGP, before that became the preferred "just use" argument, I would.

Re:Open Whisper Systems Partners with Google on End-To-end E... by lawnchair_larry on Thursday May 19, 2016 @01:06AM (#11728120)
I think perhaps the worst thing you've done here is deprive the viewers at home of their closure to the question of whether or not kaepora knows what his ultimate transgression was, or if he is feigning ignorance to elicit sympathy from the audience.

What did he do? Does he know what he did? Do we ever get to find out? The people want answers.

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Thursday May 19, 2016 @07:05AM (#11729289)
fa9c5885a129a3dd5faf1b55bfdaf2d3e3a3de442bf6c817724febaa2b01bc71

Nadim has enough information to know what that hash corresponds to. Maybe he'll tell you. I won't. Not until I'm ready.

Re:Open Whisper Systems Partners with Google on End-To-end E... by nkobeissi on Thursday May 19, 2016 @07:47AM (#11729443)
I have no idea what that hash corresponds to and haven't even seen it before. Also, to be clear. I have absolutely not the slightest idea what kind of issue tptacek seems to be referring to in general. Honest. I'd swear under oath if I could.
Re:Open Whisper Systems Partners with Google on End-To-end E... by lawnchair_larry on Thursday May 19, 2016 @12:02AM (#11727874)
> I think Hacker News should be better than this.

I don't think it should. I think us pretending that we are some group of regal statesmen is a bunch of pretentious bullshit.

Being civil is preferable, but not if it means being fake.

People aren't any less "mean" on HN, they're just good at bullying in more subtle ways, and we are all worse off for it.

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Thursday May 19, 2016 @12:29AM (#11727965)
The point isn't that we're "statesmen". It's just that we check as much incivility as we can at the door.
Re:Open Whisper Systems Partners with Google on End-To-end E... by nl on Thursday May 19, 2016 @03:11AM (#11728570)
Being civil is preferable, but not if it means being fake.

I don't understand this. Everything is fake to some degree. Being civil is a good thing.

Re:Open Whisper Systems Partners with Google on End-To-end E... by jsnell on Wednesday May 18, 2016 @06:14PM (#11726446)
"Impossible" is a tough standard to meet. But given how different idiomatic Java code and idiomatic Rust code are, it does seem kind of unlikely. I'd expect nothing at all would carry over from one codebase to the other even if you were making as straight a port as possible. Or alternatively one program would look like total garbage, like someone mechanically translating Lisp to C.

And indeed, with a quick browse through the Wire [0] and OWS [1] repositories I just can't find any kind of commonalities at all. Not in the structure, not in the comments, not in naming, not in the data structures, etc. Am I missing something, is there anything at all in the code itself that suggests the two codebases are related in any way at all? Or is the "GPL's OWS code" you refer to something else entirely?

[0] https://github.com/wireapp/proteus/tree/develop/src/intern

[1] https://github.com/WhisperSystems/libsignal-protocol-java/tr...

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @06:16PM (#11726453)
The very code you linked to settles this:

// Based on libsignal-protocol-java by Open Whisper Systems

Re:Open Whisper Systems Partners with Google on End-To-end E... by jsnell on Wednesday May 18, 2016 @06:28PM (#11726526)
That's exactly why I wrote "anything in the code itself". Yes, they made a mass commit adding that attribution to every file 9 days ago to conclude a messy lawsuit. That doesn't make the two codebases themselves appear any more related in isolation.

If there's GPL violation and code was copied, there should be some traces of that. Is it truly so unreasonable to ask what those traces were?

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @06:30PM (#11726543)
"To conclude a messy lawsuit"? They're the ones who filed the lawsuit!
Re:Open Whisper Systems Partners with Google on End-To-end E... by comex on Wednesday May 18, 2016 @10:40PM (#11727586)
I hadn't heard about this case before, and so I don't know the details, but just from your own description, filing a preemptive lawsuit in response to an explicit copyright demand doesn't sound unreasonable - the advantages of doing so over waiting to be sued include venue selection and, perhaps more importantly, forcing the claimant to make their case, rather than letting it turn into a frozen conflict (with the possibility of them filing DMCA notices against app stores at any time). That doesn't imply they actually wanted to go to court.

Though I did just Google it, and throwing an extortion claim on top sounds... well, like a big mess.

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @10:47PM (#11727608)
They didn't need to do anything to "resolve their messy lawsuit" other than to withdraw the lawsuit.
Re:Open Whisper Systems Partners with Google on End-To-end E... by comex on Wednesday May 18, 2016 @11:07PM (#11727678)
That's exactly what they eventually did. I wouldn't have, if I thought a copyright claim against me were truly bogus. Maybe they decided it wasn't bogus.
Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @11:56PM (#11727851)
Oh, sorry, I misunderstood.
Re:Open Whisper Systems Partners with Google on End-To-end E... by nkobeissi on Wednesday May 18, 2016 @06:02PM (#11726348)
> Complaints about Signal are, unsurprisingly, getting dumber and more venomous. For instance, last week, Nadim Kobeissi (the author of Cryptocat, a competing secure messaging system that I think you should avoid) was on Twitter talking about how impossible a GPL violation could have been given that Wire's Signal implementation is in Rust.

Given that I'm mentioned by name (and tied to a bunch of exaggerated claims), I'd like to clarify a few points.

1. I never claimed that a GPL violation was impossible because of different programming languages. I merely questioned whether this was the case with Wire's Rust codebase [0], given that its data structures, namespacing etc. are substantially different from the OWS Java code [1]. To me, different code organization + different implementation style + different programming language don't exactly amount to a line-by-line conversion from Java to Rust as OWS seems to be claiming.

2. Cryptocat does not compete with Signal: it's a desktop XMPP client that focuses on synchronous messaging (that I write in my free time and with no funding or business plan, to boot), and does not at all target the mobile space. I was very happy to adopt a variant of Signal Protocol into Cryptocat and consider Signal's contributions to the field of secure messaging to be highly valuable. I'm not sure why tptacek brings up Cryptocat (completely unrelated to this discussion) but by all means, don't avoid it! The recent rewrite is pretty good, actually.

Overall, this situation just struck me as very ugly. Moxie seemed at some point to be reticent to allow fully independent implementations of the protocol, and Wire's lawsuit was pretty aggressive. Both parties locked in a catfight and then (apparently?) realized their approaches were counterproductive and gave it up.

The best resolution here, in my view, would have been for Moxie to publish a public-domain reference specification document of Signal Protocol that's independent of the code, and for Wire to be allowed to write a Rust implementation of it without any party causing drama.

[0] https://github.com/wireapp/proteus

[1] https://github.com/WhisperSystems/libsignal-protocol-java

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @06:06PM (#11726387)
You're the author of a secure messaging system who is, to put it lightly, notorious for throwing shade on other people's secure messaging projects. This comment is a perfect example: OWS demanded that Wire comply with the GPL, and you've declared that "drama", and suggested that Wire was somehow "not allowed" to port it to Rust.

Your messages on Twitter are right there for everyone to read.

Here's a helpful starting point:

https://twitter.com/kaepora/status/730165751240364033

The preceding link where you referred, unbidden, to Moxie's last post about their take on federation for their own implementation of Signal as a "dishonest rant" is left as an exercise for the reader.

Re:Open Whisper Systems Partners with Google on End-To-end E... by uola on Thursday May 19, 2016 @12:10AM (#11727907)
It's pretty hard to reach a conclusion on this issue without spending some (more than I'm willing to) time looking at the code. I'm not sure I like the claiming of copyright on other implementations. I guess this is because they use a dual-licensing business model? Which would be understandable, but they should probably communicate that clearer.
Re:Open Whisper Systems Partners with Google on End-To-end E... by nkobeissi on Wednesday May 18, 2016 @07:33PM (#11726881)
These kinds of arguments may have force on Reddit, but they're verboten on HN. You need to engage the argument itself and not try to dredge things up about the arguer.
Re:Open Whisper Systems Partners with Google on End-To-end E... by purerandomness on Wednesday May 18, 2016 @06:03PM (#11726362)
I'd like to learn some possible reasons why one should avoid cryptocat, is there any material you could link for further reading?

Thank you

Re:Open Whisper Systems Partners with Google on End-To-end E... by nkobeissi on Wednesday May 18, 2016 @06:15PM (#11726452)
I am the original author of the software you refer to. Before its complete rewrite (released two months ago), Cryptocat was based on a codebase that I wrote starting in my early undergrad and that was notorious for containing many high-severity vulnerabilities. The most important was "Decryptocat", documented by Steve Thomas [0] but we also had:

* AES-CTR counter-reuse (2012)

* Biased Fortuna CSPRNG implementation [1] (2013)

To be sure, Cryptocat's substandard reputation was well-deserved; but all the same, I think that every vulnerability that did pop up was addressed responsibly and with full disclosure.

Since then, there has been a major rewrite that I am conversely quite happy with.

[0] https://tobtu.com/decryptocat.php

[1] https://nakedsecurity.sophos.com/2013/07/09/anatomy-of-a-pse...

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @06:17PM (#11726460)
For what it's worth, Steve Thomas's vulnerability was not the most important in that code. I think Steve Thomas (fair warning: a friend) might dispute the "full disclosure" comment you made, as well.
Re:Open Whisper Systems Partners with Google on End-To-end E... by ComodoHacker on Thursday May 19, 2016 @06:01AM (#11729074)
Thomas, aren't you trying to make security-related products and infosec in general too "reputation-based"? Do you really think that some bad code or design or lack of theoretical background during early career should be an "out-of-profession" sentence for lifetime? Hadn't you ever made such mistakes yourself?
Re:Open Whisper Systems Partners with Google on End-To-end E... by ownagefool on Thursday May 19, 2016 @08:26AM (#11729585)
Yeah, whilst I generally agree with the sentiment that nobody should roll their own crypto nor use something you randomly find on the net, if nobodies creating these things, you will have no future professionals.

Good for his consulting rate, no doubt, but probably not good for society.

Re:Open Whisper Systems Partners with Google on End-To-end E... by nkobeissi on Wednesday May 18, 2016 @06:19PM (#11726478)
Of course, I was only referring to vulnerabilities I could verify are real.

Steve was paid two separate bug bounties and invited to a Cryptocat hackathon in NYC. I also consider him a friend and never heard a complaint from him regarding the project's disclosure policies.

Re:Open Whisper Systems Partners with Google on End-To-end E... by tptacek on Wednesday May 18, 2016 @06:26PM (#11726517)
From the Decryptocat post:

The bug that lasted 347 days was the confusion between a string and an array of integers. This made the ECC private keys ridiculously small because they passed a string of decimal digits into a function expecting an array of 17, 15 bit integers. Each character was considered an element in the array. So each of those "15 bit integers" were only the values 0 to 9 (3.32 bits). Also the least significant 3 bits are zeroed giving you a key space of 210^16 (2^54.15).*

When they fixed that bug the commit message was: "Fix private key format to match curve25518-donna. THIS BREAKS COMPATIBILITY WITH PREVIOUS CRYPTOCAT VERSIONS." Even though this does not break compatibility at all. I don't know if they knew what they fixed and just wanted to slide this under the radar or they legitimately believe that. Both are scary one is violating their principles "Cryptocat is developed under a principle of radical transparency" and the other is just incompetence. There is a blog post by them saying this is inaccurate. Apparently they have too many serious bugs to keep straight. That they don't know which one breaks compatibility. The other error in the change log for version 2.0.42 is a bug where the counter in AES-CTR is reused. This means the first 32 bytes of your messages are easy to decipher with no effort at all. Which breaks compatibility, but everywhere they mention compatibility they say key generation.

Re:Open Whisper Systems Partners with Google on End-To-end E... by DanBC on Thursday May 19, 2016 @05:11AM (#11728935)
The authors have been incompetent. Cryptocat has had several severe bugs that demonstrate cluelessness around fairly simple cryptographic stuff.

Here's one walkthrough of their broken PRNG: https://nakedsecurity.sophos.com/2013/07/09/anatomy-of-a-pse...

Decryptocat lists some of the other bugs: https://tobtu.com/decryptocat.php

The response - "bugs happen, we'll fix them" is okay for most other software, but probably not for cryptography. Especially not if you're marketing your software to people at risk of being murdered by their governments.

Here's a snippet from their blog, there are plenty of others:

> In working with young and middle-aged professionals in the Middle East region, we have discovered that desktop OTR clients suffer from serious usability issues which are sometimes further exacerbated due to language differences and lack of cultural integration (the technology was frequently described as foreign). In one case, an activist who was fully trained to use Pidgin-OTR neglected to do so citing usability difficulties, and as a direct consequence encountered a life-threatening situation at the hands of a national military in the Middle East and North Africa region.

They're the victims of being over hyped. There's some discussion to be had around how much they generated that hype. http://paranoia.dubfire.net/2012/07/tech-journalists-stop-hy...

Re:Open Whisper Systems Partners with Google on End-To-end E... by cm3 on Wednesday May 18, 2016 @05:49PM (#11726272)
Thanks, amended my post.