News for hackers. Stuff that matters.
Re:OpenPGP really works by chakalakasp on Monday January 02, 2017 @02:00PM (#13303453)
The ultimate engineer's perspective. It works so well that almost nobody uses it!

Signal isn't even that popular compared to other platforms like iMessage, but I bet more people use it than regularly PGP.

I was regularly signing messages with PGP on Fidonet all the way back in '93 (and trying to find people to swap encrypted messages with). It's a bit mind blowing that the useability of the successor program today, GPG, isn't much better than what people thought was kinda wonkish and hard back in the Compuserve days.

Re:OpenPGP really works by rvern on Monday January 02, 2017 @05:17PM (#13305024)
It isn't because GnuPG doesn't work well or because it is too hard to use that people don't use it. They don't use it because other people don't use it.

Why do people use Facebook instead of Diaspora? It's not because Facebook is better, works well, or is easier to use... It's because other people use Facebook.

Why do people use Skype instead of XMPP? It's not because Skype is better, works well, or is easier to use... It's because other people use Skype.

Why do people use WhatsApp instead of GnuPG or OTR? It's not because WhatsApp is better, works well, or is easier to use... It's because other people use WhatsApp.

It's always the same standard chicken and egg adoption problem. As shown in the article, GnuPG is used for package signing, commit signing, file encryption, and all sorts of things that don't involve many people. But when it's about communication, you can only use GnuPG if the people you want to communicate with use GnuPG too... and thus the adoption problem applies.

And the reason people initially used Facebook, Skype, and WhatsApp is not that they were easier to use or better. It's advertising. Notice how all of these are proprietary software made by companies with the means to advertise their software? You can bet people would use GnuPG, Diaspora, and XMPP if they had been advertised by companies like Facebook and Microsoft.

So if we want people to use open source software and open protocols instead of living in walled gardens, we need to advertise them. Advertising works.

Re:OpenPGP really works by dispose13432 on Monday January 02, 2017 @06:38PM (#13305424)
>And the reason people initially used Facebook, Skype, and WhatsApp is not that they were easier to use or better. It's advertising. Notice how all of these are proprietary software made by companies with the means to advertise their software? You can bet people would use GnuPG, Diaspora, and XMPP if they had been advertised by companies like Facebook and Microsoft.

I know quite a few non-techies who use VLC, Firefox, LibreOffice, and other OS advertising-less projects. The difference is:

1. Facebook, Skype and WhatsApp solved problems others didn't and became big. Now it's too late to fight.

Had Diaspora been around before FB, and as easy to work with (put name here, picture here, password here, friend here. You're all set up. Let's go), or XMPP been around before Skype (which is a very old program in internet time), or Kontalk,Signal, etc. been around before WhatsApp (find friends by number, not by username), they probably would have taken off (at least to some degree).

Google came late onto the Desktop scene (Chromebooks) and are not successful while the incumbent (MS) is good.

MS came late onto the mobile scene and failed, while the incumbent (Google) is good.

Re:OpenPGP really works by adventured on Monday January 02, 2017 @10:33PM (#13306474)
> Had Diaspora been around before FB

I'd be willing to guarantee that with a name like Diaspora, it could have never achieved mass adoption under any circumstances. Most people won't know what that word means. The name sounds terrible and unfriendly, more like a disease than a social network your mother would want to join. Diaspora is another example of engineers not understanding how to make a product, top to bottom, for the general public.

Re:OpenPGP really works by kbart on Tuesday January 03, 2017 @02:13AM (#13307343)
I tend to agree. Naming is important and if you target masses (non-engineers, non-geeks etc.), you should name your product so that even a 5 years old kid would understand it without a second thought and memorize instantly. An anecdote, but I have harder times convincing people to use LibreOffice than OpenOffice for no reason other than a name.
Re:OpenPGP really works by daenney on Monday January 02, 2017 @07:15PM (#13305605)
> or XMPP been around before Skype

It was. XMPP, aka Jabber, started late 1998, the first version of jabberd appeared in 1999, the standards group started in 2002 and the RFCs were ratified in 2004. Jabber.org, the first IM service on top op Jabber/XMPP opened its doors in 1999.

Skype was first released in 2003, about 4 years after Jabber had already become a thing.

Just because something was there first doesn't make it win nor does it mean it will remain the primary/principle protocol/option :).

Re:OpenPGP really works by Decade on Monday January 02, 2017 @09:20PM (#13306153)
>> or XMPP been around before Skype

> It was. XMPP, aka Jabber, started late 1998… Skype was first released in 2003…

But XMPP didn’t have VoIP until 2005.[0] More importantly, XMPP and SIP don’t have a great story for NAT traversal and privacy. And corporations are shying away from open standards, e.g. Google Hangouts federation, or when Apple FaceTime was supposed to be an open standard.[1]

A very long time ago, before even Jabber was around, I played with PGPfone[2] on my 33 MHz laptop.[3] No FPU. 128-bit symmetric encryption. For voice, the processing power problem is solved to overkill. But PGPfone proved to be useless because it didn’t traverse NAT.

The ultimate lesson from PGPfone: NAT is inherently repressive. It divides the Internet into haves and have-nots, and most everybody is a have-not. If you want to contact another have-not, you must do it through the graces of someone who has public IP address space. That is why I started advocating for IPv6 long before any of my peers.[4]

[0]https://slashdot.org/story/05/12/16/070245/google-jabber-and...

[1]https://www.reddit.com/r/apple/comments/1xuzif/what_ever_hap...

[2]https://en.wikipedia.org/wiki/PGPfone

[3]http://lowendmac.com/pb/powerbook-190cs.html

[4]https://version6.ru/en/ipv6-for-freedom

Re:OpenPGP really works by rvern on Monday January 02, 2017 @07:19PM (#13305627)
Sounds right, maybe Diaspora or XMPP would not become popular if they were advertised today. Software like VLC, Firefox, LibreOffice would because they're not communication platforms.

Chance might play a larger role than advertising in the early game, for communication platforms.

Re:OpenPGP really works by pessimizer on Tuesday January 03, 2017 @12:01AM (#13306858)
> 1. Facebook, Skype and WhatsApp solved problems others didn't and became big. Now it's too late to fight.

Facebook was at least the third widely adopted social network. It made it largely by targeting its marketing towards college kids. and expanding strategically and somewhat methodically. Other than its marketing, the only other reason Facebook did well was by becoming a programmer friendly platform. It was no better for users than the other ones.

Re:OpenPGP really works by cookiecaper on Monday January 02, 2017 @07:22PM (#13305648)
I just need to jump in here and harp on the thing that I'm sure regular readers of HN are sick of seeing me harp in on all the time. :P

The network effects of Facebook et al are entirely artificial! The beauty of the internet is that there are no real barriers to keep everyone in the same box. Instantaneous, exact communication is possible across the whole world now. "Other people can't hear me when I'm not using Facebook, so I have to use Facebook" is NOT an inherent problem in a digital system!

The problem is, simply, that the law in the United States, Europe, and most of the rest of the world explicitly makes it illegal to provide third-party federation systems that would bring that permeability to the "walled gardens" of the modern web.

The walls aren't really there. We don't need to install millions of miles of compatible cable to hook up diaspora and Facebook. We don't need the government to step in and do anything to stop the behemoths, we just need them to get out of the way. The web's natural mechanisms can solve this on their own if the USG stops putting developers and entrepreneurs in jail/financial ruin for trying to innovate.

Users need to be allowed to access sites with a browsing device of their own choice instead of allowing vendors to cut off access based on the use of browsing devices that preserve content, and then we need to update our copyright and contract law so that normal use of these browsing devices doesn't constitute infringement or breach.

Repeal the CFAA, fix the Copyright Act, retake the web from phony monopolies. Let's get these guys competing on merit again and make room for the revolutionary iterative improvements of the little guy.

Re:OpenPGP really works by cyberpunk on Monday January 02, 2017 @08:51PM (#13306035)
I'm not sure that's the whole problem. The walled garden is a financial incentive for tech companies mainly, isn't it? It seems like it's going to a hard thing to shift; so far it's been a 'who cares' for most of us, but it's really going to start hitting once VR gets big, at least -- as far as I daydream about such things..

Lets' get in a time machine, what I'd really like to see is an open protocol for VR ala 'snow crash' governed in the same sort of way HTTP is, while we're early days now I think we can probably assume that VR, somewhere down the line potentially 'browser replacement' in reach but I'm not really sure that can ever really happen though when we're building lots of isolated gardens which speak different languages -- as the way things currently are? Do you think the motivations of e.g sony or htc not to go down the same path http did are because of the CFAA and over-regulation instead of money reasons?

It seems to me short sighted quick returns, lock in and incompat are going to play bigger roles than govt reg in the next decades in stifling progress -- I'd like to hear your take..

Re:OpenPGP really works by cookiecaper on Tuesday January 03, 2017 @12:26PM (#13310848)
The thing is that the government is co-conspiring with the large companies to allow them to enforce their walled gardens through the wholly-artificial means of the CFAA, copyright, etc.

If the government stopped allowing large companies to haul innovators to court for accessing the data that that company willfully shared with the innovator's browser, the wall, at least on SaaS-style services, would be broken as third-party federators would be free to come in and tranform that data into something compatible with competing solutions. The data would be able to flow freely and the user would be free to access the data through Facebook directly or through a competitor service, and products would need to compete for users on merit instead of taking one's social graph hostage.

The web enables this portability, but the government has set up rules (in some cases, inadvertently and through negligence) that stop people from competing on an even playing field. We need to fix those rules. CFAA, EULAs, and copyright for RAM copies is a start.

Re:OpenPGP really works by zedred on Monday January 02, 2017 @08:46PM (#13306010)
> It isn't because GnuPG doesn't work well or because it is too hard to use that people don't use it. They don't use it because other people don't use it.

Sure, GnuPG works "well," for engineers. This post is written by an engineer, but engineers are no longer the majority of computer users. If you want to develop mass market products today, coming to terms with that is pretty important.

To even try to draw a comparison between WhatsApp and XMPP+OTR is absurd. For an engineer, maybe the latter is passable, but the billions of people around the world who want to chat on their mobile device, don't understand what a key exchange is, don't understand why they can't immediately see everyone in their address book they can chat with, and don't want to run their own server, it definitely isn't passable.

> Why do people use Facebook instead of Diaspora? It's not because Facebook is better, works well, or is easier to use... It's because other people use Facebook.

> Why do people use Skype instead of XMPP? It's not because Skype is better, works well, or is easier to use... It's because other people use Skype.

> Why do people use WhatsApp instead of GnuPG or OTR? It's not because WhatsApp is better, works well, or is easier to use... It's because other people use WhatsApp.

I'm sorry but this is just not true. Network effects are important, but there's a reason that people are using these networks to begin with. They work really well.

Something like WhatsApp may seem simple, but every little interaction within the app is perfectly polished in a way that GnuPG, OTR, or any XMPP client is definitely not.

> And the reason people initially used Facebook, Skype, and WhatsApp is not that they were easier to use or better. It's advertising. Notice how all of these are proprietary software made by companies with the means to advertise their software? You can bet people would use GnuPG, Diaspora, and XMPP if they had been advertised by companies like Facebook and Microsoft.

As far as I can tell, WhatsApp never spent a single dollar on advertising. Their entire growth strategy seems to have been word of mouth.

These companies have hundreds or thousands of engineers who work on these products full time every day, driving the products forward, making them better and better. That is not something an open source client is ever going to be able to compete with. It just isn't.

Re:OpenPGP really works by rvern on Tuesday January 03, 2017 @12:51AM (#13307045)
I'm not convinced...

> I'm sorry but this is just not true. Network effects are important, but there's a reason that people are using these networks to begin with. They work really well.

There's a reason they use these networks to begin with, but I don't think it has much to do with them working really well. The network has to work well enough, but past that, marketing, chance and being an early player are all factors that I suspect are more important than how good the product is.

> As far as I can tell, WhatsApp never spent a single dollar on advertising. Their entire growth strategy seems to have been word of mouth.

Yes, there are other ways to get through the initial growth than advertising. Such as chance, or being there before everyone else. But the "word of mouth" is part of the network effect I am talking about, and it comes after the initial growth. They had to get some initial growth somehow.

> These companies have hundreds or thousands of engineers who work on these products full time every day, driving the products forward, making them better and better. That is not something an open source client is ever going to be able to compete with. It just isn't.

That doesn't match my experience and I don't see a reason it would. If we were talking about a web browser, maybe, but an instant messaging client is something pretty simple that it doesn't take hundreds or thousands of engineers to get right and make into a good product. Since an open source project won't have the strong incentives a company will have that are against the interests of the users (making it into walled garden, centralized, proprietary software that doesn't use open protocols), it won't take much for the open source client to be better. There is not much correlation in my experience between how good software is and how much money the company that created it has or how many employees it has working on that software.

Re:OpenPGP really works by ge0rg on Tuesday January 03, 2017 @03:08AM (#13307582)
but an instant messaging client is something pretty simple that it doesn't take hundreds or thousands of engineers to get right and make into a good product.

While you are technically right, making a good (as in "usable") chat client takes at least a competent developer and a UI designer, and most OSS developers lack in the second domain.

Especially for XMPP, you also need to apply a number of extensions to improve the experience.

From personal experience as an XMPP client developer and XMPP Standards Foundation member I can say that most of the work is driven (slowly) by volunteers, and that there is more work than time. We are starting to cover the UX side of things to make XMPP easy enough to compete with WhatsApp, but we need YOU to contribute. ️

Re:OpenPGP really works by tlikonen on Monday January 02, 2017 @02:47PM (#13303814)
PGP (now GnuPG) is used more these days than in BBS (Fidonet) years, particularly in the open source community. Software releases and packages in GNU/Linux distributions are signed by the developers. All the time. It happens automatically without end-user noticing. Is this not one definition of "working well?" Lot's of people are passively using it without knowing.

But for messaging it's indeed very marginal. In open source projects' techical mailing lists and version control systems there is pretty much message or commit signing but that's a marginal group who does that.

Re:OpenPGP really works by astrodust on Monday January 02, 2017 @05:00PM (#13304933)
I'd believe PGP is in wider use today than Fidonet is, but not much wider.

I have to laugh that Snapchat has apparently solved the identity exchange problem and PGP is still stuck with these ridiculously baroque implementations.

Re:OpenPGP really works by ryukafalz on Monday January 02, 2017 @05:28PM (#13305092)
>I have to laugh that Snapchat has apparently solved the identity exchange problem and PGP is still stuck with these ridiculously baroque implementations.

Er, how? Admittedly I've only used it a few times, but the only thing that sticks out along those lines is the Snapcode system. How is that any different than scanning a QR code in OpenKeychain?

Re:OpenPGP really works by astrodust on Tuesday January 03, 2017 @05:30AM (#13308212)
The part where it works and millions of people use it.
Re:OpenPGP really works by matheusmoreira on Monday January 02, 2017 @04:31PM (#13304723)
>Signal isn't even that popular

WhatsApp integrated¹ Signal's secure messaging protocol. Since then, at least one government was unable to compel² the company to produce unencrypted messages from users under investigation.

Given the popularity of WhatsApp, I think its safe to say a lot of people are now using a relatively secure messaging protocol.

¹ https://whispersystems.org/blog/whatsapp-complete/

² https://www.forbes.com/sites/parmyolson/2016/05/03/whatsapp-...

Re:OpenPGP really works by cyberpunk on Monday January 02, 2017 @09:00PM (#13306082)
I don't want to harp on about this again, but I really don't think you can put any sort of trust into such things as this. With GPG, you're producing an encrypted version of some text/data with a bit of code you can build yourself and run completely on your equipment, airgapped or whatever.

With signal/whatsapp, there is no way of even knowing if the code you're using "in app" is the code in github or in whatever rev wherever. Yes, I know reproducable builds -- but what stops the app fetching more code from elsewhere? Wanna bet there's a webview and some JS in that app somewhere?

It's nice to make things harder for the NSA to read, but this architecture seems to be just creating the illusion of safety and it's kind of weird to see how much advocacy it gets here when there are such obvious faults in it.

I'm not saying there's a better alternative, and congrats to all who are working on it and I'm happy to see it succeed -- but this isn't a solved problem and there's massive danger in trusting such things.

I'd love to have the time to really inspect whatsapp/signal to see what I'm sending/getting -- has anyone done this? Google isn't giving me much..

Re:OpenPGP really works by chakalakasp on Monday January 02, 2017 @10:57PM (#13306572)
Complete protection from the NSA is not your typical user's need. Having your message opaque to bulk surveillance is about as good as a typical user can expect. If you are the explicit target of a state level actor, you're not going to win. If the Mossad wants to Mossad you, you're gonna get Mossaded.
Re:OpenPGP really works by joe563323 on Tuesday January 03, 2017 @12:52PM (#13311139)
> Complete protection from the NSA is not your typical user's need.

     They do not know. But they must be educated because it is ethical.
Re:OpenPGP really works by nickik on Monday January 02, 2017 @10:56PM (#13306567)
There is a extremly large difference between passiv listening and recording everything and cleverly hacking the Signal app, or even forcing OWS to do it for them. The cost differences alone are massive, not to mention that its harder to do while remaining hidden.

Yes its not perfect, but calling it a illusion of safety is just overly negative. If the NSA really wants you, they will get you, but that does not mean all your safty is illusion.

Re:OpenPGP really works by hollander on Monday January 02, 2017 @02:12PM (#13303550)
I sign almost all outgoing mail, hoping someone will notice. In three years I've got one question about it. Some people complain they can't open the attachment, as I use PGP/MIME to keep the message readable.

If big companies like Apple and Google were behind this, it could change, but I'm afraid this won't happen unless there is a sudden need for it.

Re:OpenPGP really works by wanderingbort on Monday January 02, 2017 @02:46PM (#13303809)
> If big companies like Apple and Google were behind this, it could change, but I'm afraid this won't happen unless there is a sudden need for it.

Digital privacy for average consumers needs more than a brand behind it, it needs an obvious value. I don't think many average people actually suspect that email _can_ be tampered with so, what does "signing" it mean to them.

Moreover, when/if it enters the mainstream it will be plagued with "hacks" which degrade the user-perceived value, causing many to abandon it if it isn't free.

by "hacks" I mean the users will expose keys and then blame AES :)

Re:OpenPGP really works by nihonde on Monday January 02, 2017 @11:07PM (#13306618)
If ever there were a user group that should have forced pgp adoption, it is lawyers. When I worked at a big law firm, I lobbied for it and ran into a bunch of IT managers who had never heard of anything unless Microsoft sold it to them.
Re:OpenPGP really works by nhxu on Saturday January 07, 2017 @03:54PM (#13346579)
> If big companies like Apple and Google were behind this, it could change, but I'm afraid this won't happen unless there is a sudden need for it.

End-to-end [1] is using OpenPGP.

[1]: https://github.com/google/end-to-end/

Re:OpenPGP really works by openplatypus on Monday January 02, 2017 @06:21PM (#13305335)
It is surprisingly easy to use PGP/GnuPG. Check this tutorial https://emailselfdefense.fsf.org/en/.

It is _just_ slightly more complex than using Twitter once configured.

Re:OpenPGP really works by kbart on Tuesday January 03, 2017 @02:25AM (#13307401)
No, even this step-by-step tutorial is not easy for "normal" user. It's plagued with obscure terms and concepts (keypair, keyserver, public key, web of trust, revocation certificate etc.). Sure, for us, developers/engineers/geeks, it looks trivial, but try to send this link to your grandma and see how it goes.
Re:OpenPGP really works by confounded on Monday January 02, 2017 @09:27PM (#13306185)
It's the configuration that kills it, and a large part of that is loading context into the user's mind (the highest drop-out form).
Re:OpenPGP really works by cedricbonhomme on Monday January 02, 2017 @05:46PM (#13305186)
I see more and more comparisons between Signal and OpenPGP.

Signal is an application (in fact more than a simple application) that solves a more global problem (of communication solutions that uses asymmetric cryptography) which never was intended to be solved with OpenPGP.

OpenPGP is a standard. GnuPG, the tool that people are comparing with Signal (I think).

Re:OpenPGP really works by confounded on Monday January 02, 2017 @09:35PM (#13306225)
This applies to much of the XMPP discussion above, too. Also worth noting that GnuPG isn't even what you send the emails with. And that PGP on mobile is almost unheard of. I doubt I could explain how to send an PGP encrypted email (for example, to a doctor/lawyer/accountant) inside of 2 minutes.

Strong intrinsic motivation is the only reason people use PGP. It took me ~3 months to get a critical mass of 15 or so people on to Signal as first port of call.

Re:OpenPGP really works by gnipgnip on Monday January 02, 2017 @10:00PM (#13306342)
Interesting that Moxie wishes PGP were dead (inline with his views in the LibreSignal/Websocked/Gapps PR).

https://moxie.org/blog/gpg-and-me/