News for hackers. Stuff that matters.
Re:I'm giving up on PGP by psiconaut on Tuesday December 06, 2016 @09:59AM (#13114999)
I find very interesting the point about the split between what WoT was supposed to be, in theory, and what little it represents, in practice, in terms of practices about key verification.

It has been said many times that the lack of adoption of pgp in mail was due to the average user not being able to grasp the concepts behind the proper operation for key management, but the article points to common practices among "power users" that will drop the theoretical best practices and switch to fallback, unsecure modes, given the effort needed to properly verify a key binding. If the community that cares about encryption and privacy is not able to routinely verify keys, the whole system definitely has a weak link.

I wonder if pgp is fundamentally flawed, or we have a deep conceptual usability issue here.

And to me, assuming that the most usable thing we can use instead is something that relies on mobile phone identifiers, more often than not tied to a phisical world identity, is really something to worry about.

Re:I'm giving up on PGP by dom0 on Tuesday December 06, 2016 @10:31AM (#13115254)
> I wonder if pgp is fundamentally flawed, or we have a deep conceptual usability issue here.

I don't think the "WoT" is conceptually flawed, and frankly, the argument that "people of average intelligence" can't grasp the concept comes from a very high horse and is also untrue. It's simply that any and all software for PGP utterly fails in the UX and functionality department when it comes to key management.

Web of Trust implies such a glaringly obvious visual metaphor that I am truly in awe that not a single program works that way.

Tabulations of keys are not a WoT, period.

I don't verify keys one-by-one, that's bullshit. I get one good key that's part of a WoT, and then go from there, and can easily see from the web structure that other keys are good and what their relations are. None of that is accomplished by any PGP frontend.

Instead I get stupid and unhelpful error messages ("no key available" - I just downloaded it!) and some of the most terrible crypto UI I've seen ("How much do you trust this key? [ ] Not at all [ ] A bit [ ] Fully [ ] Totally" - w-t-f).

A technical criticism of PGP/GPG is of course also possible. The whole thing is a museum of early 1990s crypto, with default ciphers like CAST5 and messages not being authenticated - and even if the message is authenticated most parts of the PGP protocol are not, meaning that you got that big bunch of C code maintained by that one German guy over there that parses unauthenticated bytes that you shipped through half the internet with a big neon-red sticker on it saying "I'M PGP PLEASE TAMPER WITH ME".

Re:I'm giving up on PGP by lbenes on Tuesday December 06, 2016 @03:03PM (#13117800)
I worked in IT for an engineering company that required all external emails to be PGP encrypted. Despite all engineers having Symantec PGP software installed and setup, training, and support of IT, they would often ignore this policy. The excuse, often valid, was it would require IT from both companies to setup the encrypted keys for the first time for new users. If the system is too complex for engineers, the idea of this being usable for the average users is a pipe dream.

PGP needs to be as simple as the SSL Lock in a browser if there is to ever be any hope of widespread adoption. There needs to be a single system of trusted PGP universal key servers that allow the details of key generation/management to be hidden from the user, just like SSL is with the web browser.

We'd still be using HTTP if SSL was as complex as PGP. Same ssh replacing telnet. E-mail's lack of progress on this front is primarily a UX issue, and until it's solved PGP will remain a tool for the select few.

Re:I'm giving up on PGP by XorNot on Tuesday December 06, 2016 @04:00PM (#13118293)
99% of crypto would work just fine if you appended an OTR-like protocol over the top of email.

First email is "hey we're interested in blah..." and is sent in the clear. Then have the message window change color as subsequent emails get the protocol more secured.

Re:I'm giving up on PGP by DigitalJack on Tuesday December 06, 2016 @04:56PM (#13118682)
I hate color coding. I'm in the 8-12% of men that have red-green deficient vision. You can use 10% as a rule of thumb. If I'm not mistaken in my probability math, that means in a group of 5 men, there is a 50% chance one of them is "color blind."

Yet the world insists on using red/green as bad/good indicators. Drives me nuts.

Re:I'm giving up on PGP by caf on Tuesday December 06, 2016 @06:06PM (#13119062)
You are mistaken. If probability of each of the 5 men being colorblind is independent (so eg. they're not related etc), then there's a 41% chance that at least one of them is (1 - 0.9⁵).

(There's a 33% chance that exactly one of them is: 0.1 × 0.9⁴ × ⁵C₁).

Re:I'm giving up on PGP by DigitalJack on Tuesday December 06, 2016 @07:18PM (#13119452)
Thanks. It's been too long since I've studied statistics. Might be time to watch some khan academy.

Oh, I see. Assuming probability that a man is not colorblind is 0.9, then you found the probability of none of them being colorblind and subtracted that amount from 1 to find the other side.

For anyone reading this that was bothered by my use of a specific gender, it's because colorblindness occurrence is significantly higher in men than women.

Re:I'm giving up on PGP by mkesper on Wednesday December 07, 2016 @08:15AM (#13122262)
That's not soo much lower, though.
Re:I'm giving up on PGP by jballanc on Tuesday December 06, 2016 @06:54PM (#13119331)
I think a Poison distribution would be more appropriate here, so the probability of 1 man in 5 being colorblind, assuming 10% of the population on average is colorblind, is:

    e^-0.5*sum((i)->(0.5^i/factorial(i)), 1:5) = ~39%
Re:I'm giving up on PGP by softawre on Tuesday December 06, 2016 @07:48PM (#13119610)
> Poison distribution

Why? This is basic statistics (% of population).

Re:I'm giving up on PGP by caf on Tuesday December 06, 2016 @10:17PM (#13120181)
I don't believe so - it's n instances of a bi-valued random variable, IID. It's exactly the case the binomial distribution covers.
Re:I'm giving up on PGP by mnw21cam on Wednesday December 07, 2016 @04:21AM (#13121409)
Exactly. You have five chances at an event, and an event probability per chance, which is exactly what the binomial distribution is for.

The Poisson distribution is what you use when the effective number of chances is "large". The Poisson distribution is effectively a special case of the binomial distribution, where the number of chances is infinity, the probability per chance is infinitesimal, and the product of the two is the expected number of events.

Re:I'm giving up on PGP by KingMob on Wednesday December 07, 2016 @02:47PM (#13125591)
I also have red/green colorblindness, but it's not as if color coding would have an 8-12% failure rate. Typical red/green color-indistinguishability mostly applies to dark reds and green, though, whereas the reds/greens used in UI tend to be quite bright and vivid.

People who can't distinguish vivid reds/greens are much rarer. (If 10% of men couldn't separate red from green at the stoplight, we'd have noticed a long time ago.)

I agree we should include everyone, of course, which is why there should also be patterns, shapes, and sound to assist, I'm just saying color coding is not some collossal mistake.

(Also, your math is off if you're assuming a 10% base rate. To have at least a 50% chance of 1 person in a group of men being color blind, you need 7 men. 1-(.9^7)= 52%.)

Re:I'm giving up on PGP by coldtea on Wednesday December 07, 2016 @12:06AM (#13120589)
>Yet the world insists on using red/green as bad/good indicators. Drives me nuts.

Well, it has to use something, and other people would be colorblind in other colors, plus some will be blind too.

In this case, one would expect there'd be some OS-wide color utility to alter colors to the ones the user can discern.

Re:I'm giving up on PGP by btashton on Wednesday December 07, 2016 @01:07AM (#13120800)
Yes, but these other ones are far more rare. Also there are shades that make it so much assessable for people. Almost every day I will ask someone what color something is because of poor selection. Chances are you have a color blind person in you office, just run visualizations by them really quick.
Re:I'm giving up on PGP by IanCal on Wednesday December 07, 2016 @03:31AM (#13121264)
> Chances are you have a color blind person in you office, just run visualizations by them really quick.

This is a great check, but I also recommend trying things just in greyscale as a simple test and installing something like Color Oracle [0]. Also, most of the problems can be solved by looking for an already existing solution, like swapping your heatmap colour scales for viridis [1].

The most important thing is recognising that these kinds of issues exist and pro-actively looking for good current solutions (the same applies for things like trying to ensure your site works well with screen readers).

I'd love to hear of more tools or other things that can help if people have suggestions!

0 http://colororacle.org/

1 https://cran.r-project.org/web/packages/viridis/vignettes/in...

Re:I'm giving up on PGP by jcrites on Tuesday December 06, 2016 @04:35PM (#13118537)
Well-run email clients and servers are in an OK state today regarding encryption, and the weaknesses that exist are more related to adoption than technology. Take a typical office setup: your email client communicates over TLS with your central mail server (e.g. Exchange, Postfix) to retrieve or submit messages. This is true with webmail clients like Gmail and Outlook Web Access, as well as ones like Outlook/Mail.app/etc.

When sending or receiving email from other organizations, your mail server will communicate over TLS as well. Virtually all ISPs support TLS-protected SMTP today, and if you run your own server you can set it up easily enough. Google's Safer Email Transparency Report publishes statistics about the percent of encrypted email between Gmail and other top email ISPs [1]. TLS wasn't always widely supported in the past -- just as with web servers -- but any modern installation today will support TLS.

Modern email installations and usage are secure against passive surveillance as well as HTTPS. Where email is still weak is in its usage of opportunistic TLS (still common if not the default). An adversary capable of conducting a man-in-the-middle attack can force connections to fall back to plaintext, or can present a bogus self-signed certificate since many servers and clients do not expect a path-validated certificate.

There are defenses against those attacks, though. You can configure your SMTP server to require TLS, and to accept only path-validated TLS certificates from trusted certificate authorities. This will prevent an adversary from forcing your traffic to plaintext, and will prevent them from substituting a bogus self-signed certificate. With these protections in place, one can achieve a fairly good measure of security with basic email.

This is not to say that email is suitable in all circumstances. For high sensitivity use-cases one should consider attacks on infrastructure like the mail server: as we saw in this year's political campaigns, mail servers can be a trove of confidential information. One benefit of the GPG approach is that the mail server does not need to be trusted with the confidentiality of the communication, and so cannot compromise it.

[1] https://www.google.com/transparencyreport/saferemail/ The systems that show up as plaintext in this report are largely older commercial bulk email sending systems; all consumer-oriented ISPs adopted TLS a while back.

Re:I'm giving up on PGP by angry_octet on Tuesday December 06, 2016 @06:06PM (#13119059)
I would dispute your contention that 'most' ISPs support (opportunistic) TLS for SMTP. Looking at the email I receive, both at gmail and self hosted domains, almost no one will do TLS - only big internet companies like eBay. No clients that I'm aware of maintain a history of opportunistic TLS success.

Maybe Let's Encrypt will change TLS adoption but I doubt it. It would need Google/Hotmail/Yahoo to increase the spam score for non-encrypted mail. But it's still way too complicated.

Re:I'm giving up on PGP by caf on Tuesday December 06, 2016 @06:12PM (#13119101)
There are defenses against those attacks, though. You can configure your SMTP server to require TLS, and to accept only path-validated TLS certificates from trusted certificate authorities. This will prevent an adversary from forcing your traffic to plaintext, and will prevent them from substituting a bogus self-signed certificate. With these protections in place, one can achieve a fairly good measure of security with basic email.

This only works if you're also forcing DNSSEC: otherwise, the attacker can substitute their own MX in your DNS responses.

Re:I'm giving up on PGP by bigbugbag on Wednesday December 07, 2016 @08:11AM (#13122242)
> PGP needs to be as simple as the SSL Lock in a browser if there is to ever be any hope of widespread adoption.

Something like the level of confidentiality feature in (soon to be) caliopen[1]:

>> What is behind the idea of confidentiality level?

In Caliopen, every element has its own "confidentiality level" which tells the user what is the security level for any contact or message or conversation...

Each terminal declared by the user is graded according to its use (e.g. strictly personal, at home or as a public access within the enterprise), its type (a phone is necessarily less secure than a desktop PC, as it is much easier to loose). When used for the first time, a non declared terminal receives a note of zero.

Incoming messages are rated whether they are or not encrypted, and also according to the type of encryption key. The type of transport (secured or not) influences the rating as well as confidentiality level associated to the related contact if it is known. The algorithm that rates a conversation is more complex, but takes into account all described elements.

For a user's contact, the confidentiality level is equal to the global confidentiality level of this contact's account: this global confidentiality level is the only public element of a CaliOpen account.

Finally, every CaliOpen instance should eventually geWhat is behind the idea of confidentiality level? <<

[1]: https://caliopen.org/

Re:I'm giving up on PGP by cabalamat on Tuesday December 06, 2016 @10:58AM (#13115511)
> I don't think the "WoT" is conceptually flawed, and frankly, the argument that "people of average intelligence" can't grasp the concept comes from a very high horse and is also untrue.

I disagree. I have written email encryption software, and I find WoT complicated.

In light of this recent article on HN https://news.ycombinator.com/item?id=13111768 I suggest you re-evaluate the level of ability of the average user.

Re:I'm giving up on PGP by bisby on Tuesday December 06, 2016 @11:45AM (#13116005)
Yeah. It takes some reading to understand the different levels of trust for a key. Even rewording those levels could be effective, if perhaps a bit verbose.

[]Distrust []Trust only this key []Trust this key to automatically trust other keys []This is my key

Obviously I dont know what all the levels exactly mean. but as far as I can tell, these are the levels of "web of trust", where for it to truly be a web, #3 should be the default.

I either dont trust someone, I trust someone to represent themselves, I trust someone's to vouch for of others, or I am that someone.

Re:I'm giving up on PGP by XorNot on Tuesday December 06, 2016 @04:01PM (#13118297)
There's also context. I trust the government to represent my bank. I don't necessarily trust it to represent my friends etc.
Re:I'm giving up on PGP by user5994461 on Tuesday December 06, 2016 @04:03PM (#13118319)
I have to partially disagree with that.

Calling PGP an utter failure is an understatement. Just like calling a cat a small tiger.

PGP is possibly the WORST experience in usability for any well known software that ever lived.

This thing should be taught in courses for decades to come as how to fail a product by 1) having no UI 2) no integrations with anything 3) zero usability 4) not even trying to give a fuck about normal users 5) in fact, not even trying to make it possible to use for advanced users.

---

You want signed email & identities. It's simple.

Just get the national government to distribute RSA USB keys to every citizen. Then they can use them on public government websites (taxes & jobs stuff) to confirm poeple's identities, just plug in the key. Quick and simple. (And that's not incompatible with ALSO asking for a password that was send in a different paper letter. 2FA-style.).

Then later, citizens can sign the emails they send to everyone with gmail/hotmail because they'll add the feature to recognize the national USB identity key, now that there are X millions people using it.

Re:I'm giving up on PGP by marssaxman on Tuesday December 06, 2016 @04:55PM (#13118671)
Why the fuck would you ever insert a government-provided USB key into any computer you actually cared about, much less actually use any government-provided key? The national government is the prime adversary. I mean, seriously, Alice and Bob want to communicate, and your solution is that they should use Eve as a courier!??
Re:I'm giving up on PGP by eropple on Tuesday December 06, 2016 @05:37PM (#13118912)
FWIW: your point--and it's a good one--is better made without the yelling.

And to answer you, though I don't speak for the person you were relying to: the U.S. government isn't even in my threat model. If the Eye of Sauron points my way, I lose. And so, given that as a prior, a universally trustable third party is not a bad idea. The implementation might totally suck (and I think it's a better practice to have a wide set of vendors and making the acquisition of such a key subsidized, rather than directly provided, by the .gov), but the central point of trust doesn't, and it isn't inherently a problem for it to be state-operated.

Re:I'm giving up on PGP by dmoy on Tuesday December 06, 2016 @08:28PM (#13119808)
James Mickens has an awesome point roughly along these lines. It is one of my all time favorite lines about security up there with some Gene Spafford stuff.

""" If your adversary is the Mossad, YOU'RE GONNA DIE AND THERE'S NOTHING THAT YOU CAN DO ABOUT IT. The Mossad is not intimidated by the fact that you employ https://. If the Mossad wants your data, they're going to use a drone to replace your cellphone with a piece of uranium that's shaped like a cellphone, and when you die of tumors filled with tumors, they're going to hold a press conference and say "It wasn't us" as they wear t-shirts that say "IT WAS DEFINITELY US," and then they're going to buy all of your stuff at your estate sale so that they can directly look at the photos of your vacation instead of reading your insipid emails about them. """

Re:I'm giving up on PGP by marssaxman on Tuesday December 06, 2016 @08:32PM (#13119824)
I take your point - though I was not intending to yell, but to represent my state of alarm and bafflement, as the original poster's worldview is both alien and frightening. It's as though someone were circulating one of those "modest proposals" to improve automobile security by installing a sharp metal spike on the center of every steering wheel, without realizing that these things are supposed to be jokes.

A universally trustable third party key provider might not be a bad idea in itself, but a national government - any national government, I was not specifically referring to the US government - seems about as non-trustworthy as any third party gets. To my way of thinking, the whole point of cryptography is to allow the weak to protect themselves from the powerful, and giving the organization which is at least nominally the most powerful agent operating in one's area the opportunity to poison your crypto before you even begin seems... counterproductive.

Re:I'm giving up on PGP by eropple on Tuesday December 06, 2016 @08:50PM (#13119885)
There's a power curve though, yeah? That most powerful agent can just drag you off and apply rubber-hose cryptography. Or just drone your ass. At some point, worrying about what else they can do is kind of a whateverburger.
Re:I'm giving up on PGP by rebuilder on Wednesday December 07, 2016 @03:48AM (#13121309)
They can do that, but it'snot cheap for them. Giving the government total, automated access to your communications - and that's what we're talking about here IMO - lets them (and you, admittedly) avoid the whole beating scene. In real terms, it would drastically change the balance of power.
Re:I'm giving up on PGP by user5994461 on Wednesday December 07, 2016 @05:37AM (#13121659)
> Giving the government total, automated access to your communications

Hello no. Absolutely not.

We're talking here about a state distributing USB keyz with a certificate to each citizen. The certificate is 'vouched' by the CA, it confirms the name of the citizen and it can be used to sign stuff thanks to private key cryptography.

One usage could be to access public websites, and use that USB key to log in and confirm your identity.

Re:I'm giving up on PGP by rebuilder on Wednesday December 07, 2016 @10:30AM (#13123199)
You're correct, I was distracted by some posts in this chain that seemed to be talking about using the key for encryption, not identification.

So the primary threat would be impersonation by the trusted party, which would erode the trust pretty quickly. I'm still a bit wary of this approach - do you think we'd manage to keep the keys from also being used for message encryption?

Where I live, there's actually a system somewhat like this in place - banks etc. can provide identity verification to websites upon request. You log in to the bank's system with your account and one-time pad they provide, and the bank tells you what information it will pass on to the requester. It seems pretty decent, and might actually be better than the USB key approach.

Re:I'm giving up on PGP by user5994461 on Wednesday December 07, 2016 @12:07PM (#13124076)
Certificates use asymmetric keys, they allow to exchange encrypted messages, among other things.

Now, that doesn't mean that we have to encrypt stuff. It could be used for the authentication/identification only if that's all one wants to do.

> It seems pretty decent, and might actually be better than the USB key approach.

Same thing. Look at RSA SecurID keys, they do certificate + OTP generators. I've had those at a previous organization, it was well integrated and nice to use.

The certificates provide the identity. A private key or an OTP allows for authentication.

There are multiple ways to handle the identity and the authentication with 2 factors. Exactly what to distribute and who will distribute it is an implementation details.

Re:I'm giving up on PGP by marssaxman on Tuesday December 06, 2016 @09:01PM (#13119931)
Sure, so the point is to avoid their notice. That's harder to do when they can snoop on your communications.
Re:I'm giving up on PGP by monkeywork on Tuesday December 06, 2016 @07:02PM (#13119372)
Not everyone is using encryption to stand up to the man... the national government isn't everyones prime adversary...
Re:I'm giving up on PGP by 13of40 on Tuesday December 06, 2016 @06:10PM (#13119090)
I wonder if there's a niche for a USB firewall dongle that you can plug anything in with and it will guarantee it's only treated as a file system or something else benign.
Re:I'm giving up on PGP by Seylerius on Tuesday December 06, 2016 @09:29PM (#13120024)
The device could be something like a modified USB condom, but with more processing power. It would have to have all drivers locked unless a sensor verified that nothing was plugged into the suspicious end, and use a fundamentally limited set of drivers. On connection, it looks for any filesystems on the suspicious device, mounts them, and offers them up by proxy as filesystems to the host machine. Nice idea.
Re:I'm giving up on PGP by at612 on Tuesday December 06, 2016 @05:40PM (#13118930)
> Just get the national government to distribute RSA USB keys to every citizen.

I lived in a country that did exactly that. And it was a disaster. The keys were trivially easy to steal, even by accident (personal experience here), and you still have the same trust problem as before, except that with a central authority now you do not have as much control.

I have also used the electronic-signature-comes-with-your-ID-card thing, and it was a similar disaster, with dodgy drivers and half-arsed crypto implementations in common software. E.g., try using the same token in Firefox and Thunderbird (or anything else) at the same time.

PGP is fine. It's just that proper security is not easy. And the same applies in the physical world as much as in computing.

Re:I'm giving up on PGP by user5994461 on Tuesday December 06, 2016 @05:49PM (#13118977)
It's 2FA, it's doesn't rely ONLY on the key for authentication and a token can be revoked easy if stolen.

The implementation and the technology has some challenges to be executed. Just like everyone tech projects, that doesn't have GooMicroZon people. Nothing special ^^

Re:I'm giving up on PGP by ryukafalz on Tuesday December 06, 2016 @06:09PM (#13119083)
>The keys were trivially easy to steal, even by accident

So distribute keys on smart cards that don't allow you to export the key. This is what Estonia does, and - concerns about their election infosec aside - it seems to work pretty well.

Re:I'm giving up on PGP by at612 on Tuesday December 06, 2016 @06:47PM (#13119282)
> So distribute keys on smart cards that don't allow you to export the key

That's what I covered in the second paragraph. :-)

The thing is, both those implementations were a disaster from either a technological or a security point of view. We're not even getting into whether a central source of trust is a good idea or not (you will look at the state of HTTPS and make up your own mind on that). So, to repeat, proper security is hard.

Re:I'm giving up on PGP by drivingmenuts on Wednesday December 07, 2016 @12:57PM (#13124548)
> I lived in a country that did exactly that.

Which country?

Re:I'm giving up on PGP by vic-traill on Wednesday December 07, 2016 @07:05AM (#13121963)
Interesting.

If you don't mind me asking, what country?

Re:I'm giving up on PGP by dcposch on Tuesday December 06, 2016 @10:13PM (#13120171)
The first half of what you said, everything about PGP usability, is on point.

The second half--the federal government as centralized national PKI, generating everyone's private keys for them--is hilariously terrible.

I can almost hear Moxie, Matt Green, Trevor Perrin, and every infosec researcher and crypto engineer and privacy advocate facepalming in unison.

Re:I'm giving up on PGP by user5994461 on Tuesday December 06, 2016 @05:46PM (#13118963)
Guys. It doesn't have to be state controlled okay? It can be a SV startup if you prefer :D

The government is just an example because they already handle ID for everyone, and they need it to provide their services. It makes sense for them to go digital at some point and to guarantee the ID.

I didn't know that Americans were so anti-American ^^

Re:I'm giving up on PGP by narrowrail on Tuesday December 06, 2016 @06:06PM (#13119061)
Being distrustful of your government is completely "American." Having the U.S. federal government issuing an ID that is mandatory would make many in the U.S. raise a huge stink.
Re:I'm giving up on PGP by XorNot on Wednesday December 07, 2016 @03:23AM (#13121237)
Good thing that social security number thing never took off I suppose.
Re:I'm giving up on PGP by caf on Tuesday December 06, 2016 @06:18PM (#13119129)
It's a bit of a Continental European view that "they [the national government] already handle ID for everyone". Universal government ID isn't historically the case in countries descended from the UK.
Re:I'm giving up on PGP by drivingmenuts on Wednesday December 07, 2016 @01:02PM (#13124596)
Go read up on the whole Number-Of-The-Beast thing and mix that with a heavily Christian-influenced view of politics (which is there, even in the politics of not-particularly Christian people). We are talking about a country where some people view having a Social Security Number as a Very Bad Thing. Don't even get me started on the Hillbama-gunna-take-er-gerns crowd. They'll be blaming Obama for whatever well into the next decade.

We are a majorly paranoid society, for no particular good specific reason that I can see.

Re:I'm giving up on PGP by cdelsolar on Tuesday December 06, 2016 @04:31PM (#13118512)
Really? Which national government? Why wouldn't they backdoor it?
Re:I'm giving up on PGP by user5994461 on Tuesday December 06, 2016 @04:45PM (#13118610)
Any government who wants to bring 2FA to its citizens.

Shipping a national backdoor is an entirely different topic. Please focus on the use case at hands.

Re:I'm giving up on PGP by spenczar5 on Tuesday December 06, 2016 @04:58PM (#13118690)
I think that issue is central. You're describing a scheme with a central, trusted authority distributing keys. The question is, what's a central authority we can all trust? I think many people wouldn't trust any government. At that point, the design crumbles.
Re:I'm giving up on PGP by user5994461 on Tuesday December 06, 2016 @05:50PM (#13118985)
Well. You trust your government to issue national ID card and e-passports already.
Re:I'm giving up on PGP by narrowrail on Tuesday December 06, 2016 @06:10PM (#13119086)
I'm guessing you are from Europe because the idea of distrusting your government appears to be really foreign to you. According to Wikipedia, "The passport possession rate of the U.S. was approximately 39% of the population in 2015."
Re:I'm giving up on PGP by user5994461 on Tuesday December 06, 2016 @06:26PM (#13119177)
Yeah I am.

I guess that makes sense. People in the UK don't have any "national ID card". Must be a culture thing.

I guess that makes sense. That's why I have to go through fucking stupid private background check agencies for everything in the UK.

Re:I'm giving up on PGP by madgar on Tuesday December 06, 2016 @09:25PM (#13120010)
Do you think only 39% of Americans because the other 61% are all terrified of their government? Or might it be because international travel is a luxury not everyone can afford?
Re:I'm giving up on PGP by dom0 on Tuesday December 06, 2016 @06:24PM (#13119165)
> distrusting your government appears to be really foreign to you.

That "U.S. Government" collecting, indexing and analyzing all data of any citizen must be an entirely different entity from the "United States Government" after all.

Re:I'm giving up on PGP by serge2k on Tuesday December 06, 2016 @09:24PM (#13120005)
The US has strange hangups about national IDs.
Re:I'm giving up on PGP by rebuilder on Wednesday December 07, 2016 @03:50AM (#13121314)
Those are identification. Carrying a passport doesn't let anyone listen in on my inane banter with my friends.
Re:I'm giving up on PGP by nickik on Wednesday December 07, 2016 @02:32AM (#13121098)
Just because I have and use such passport does not mean I think its a good idea or trust it completly.
Re:I'm giving up on PGP by matheusd on Wednesday December 07, 2016 @09:06AM (#13122563)
Brazil is heading in that direction.

Every single corporation here and even freelance service workers are required by law to have a key/certificate pair to be able to do file taxes.

Pretty much every single commercial transaction is signed with a certificate.

It is not yet required for every individual citizen to have one, but everything points to that happening at some time in the future.

Re:I'm giving up on PGP by jcranmer on Wednesday December 07, 2016 @10:21AM (#13123130)
> Just get the national government to distribute RSA USB keys to every citizen. Then they can use them on public government websites (taxes & jobs stuff) to confirm poeple's identities, just plug in the key. Quick and simple. (And that's not incompatible with ALSO asking for a password that was send in a different paper letter. 2FA-style.).

Estonia does provide S/MIME certificates for every citizen, although I've been told that they're not particularly heavily used.

Between Estonia and the DoD, there's a few million users of S/MIME. Whereas PGP has a few tens of thousands of users. It's clear which product won out in the marketplace.

Re:I'm giving up on PGP by smhost on Tuesday December 06, 2016 @11:07AM (#13115607)
The standard for adoptability isn't the average person at their peak hours of attention and focus. It's the drunk teenager at 2 in the morning fumbling around in the dark.
Re:I'm giving up on PGP by dublinben on Tuesday December 06, 2016 @11:31AM (#13115863)
A functional WoT should be no more difficult to use than managing your Facebook friends or contacts on your phone. Neither of those are difficult tasks, and are achieved by normal users every day.
Re:I'm giving up on PGP by jahewson on Tuesday December 06, 2016 @12:24PM (#13116369)
Yeah I'm sure it's ridiculously simple and all the experts here saying it looks like the idea itself is fundamentally flawed are wrong.
Re:I'm giving up on PGP by dublinben on Tuesday December 06, 2016 @12:28PM (#13116409)
I never said it was simple, and nobody is. It's clearly not a simple problem, or we'd have a better solution by now!
Re:I'm giving up on PGP by at612 on Tuesday December 06, 2016 @05:52PM (#13118989)
> all the experts here

Which experts? And what are those fundamental flaws?

Re:I'm giving up on PGP by sigsergv on Wednesday December 07, 2016 @01:30AM (#13120868)
What is a “functional WoT”? The main trouble here: it's a really hard conceptually, if you delegate that hardness to 3rd party you will completely lose WoT essence.
Re:I'm giving up on PGP by gvb on Tuesday December 06, 2016 @12:29PM (#13116417)
You might want to reconsider your analogy. When I was a drunk teenager at 2 in the morning fumbling around in the dark, my attention and focus was at 110%!
Re:I'm giving up on PGP by bbcbasic on Tuesday December 06, 2016 @01:59PM (#13117260)
And you'd need to rely on a web of trust to avoid getting an infection.
Re:I'm giving up on PGP by tscs37 on Tuesday December 06, 2016 @01:58PM (#13117255)
>A technical criticism of PGP/GPG is of course also possible. The whole thing is a museum of early 1990s crypto, with default ciphers like CAST5 and messages not being authenticated - and even if the message is authenticated most parts of the PGP protocol are not, meaning that you got that big bunch of C code maintained by that one German guy over there that parses unauthenticated bytes that you shipped through half the internet with a big neon-red sticker on it saying "I'M PGP PLEASE TAMPER WITH ME".

Honestly, this made me laugh.

But it also makes me think. GPG and PGP are ancient pieces of somehow working code that probably should not be allowed to operate any significant parts of human communication.

IMO we should aim for a Crypto like Signal presents it; simple yet secure enough for most users.

It might be worthwhile to bring Signal (or atleast the idea) to other protocols like E-Mail.

Re:I'm giving up on PGP by gliese1337 on Tuesday December 06, 2016 @03:37PM (#13118095)
> It might be worthwhile to bring Signal (or at least the idea) to other protocols like E-Mail.

I'm glad to see someone else thinking the same way as me on this! I got myself an idea for Yet Another Secure Messaging App a while back. After a little market research, I kinda decided, well, everything that I want to do can already be done by PGP, or Signal, or Whisper... except that where they are easy to use, they don't integrate with e-mail, and where the integrate with e-mail, they are not easy to use. So, there's still room for more diversity in the market of providing easy-to-use secure, verifiable messaging, especially without trying to replace e-mail wholesale like so many messaging platforms (secure and otherwise) do. And maybe I'll actually get around to building it someday.

Re:I'm giving up on PGP by tscs37 on Tuesday December 06, 2016 @04:03PM (#13118317)
The easy part is the crypto, that's been done to death and back.

Signal has managed to do the "How can we exchange keys while atleast one of us is always offline?" part. So a good and somewhat PFS key exchange should be possible too.

Integrating that seamlessly with email is gonna be hard and require a service to register emails or domains that support the new protocol. Otherwise you end up with the PGP situation.

One want people's mail to automagically encrypt when both have it. Automagically is the best security there is for Joe Average. On the big list of security problems you face for Jane Average, "Werks Automagically" is Point 1 written in golden ink by the pope himself in 72pt fontsize and "Secure against State Adversaries" is Point 2 written in silver by the pope's cat on the second page in 16pt fontsize.

One might also want to introduce a benefit, like disabling it for spammers by having some kind of verification (Phone Number or something?) and heavily police HTML formatting so that little Green Icon next the email means more than "this one spent 30 seconds to find a large prime pair" and more like "this email is probably safe to open, nobody will track you and nobody is going to sell you fake viagra".

People should want to use it, not have to use it to be secure or something.

But as you said, that all requires work and 99% of my time I personally like being unproductive, so I guess it'll never happen.

Re:I'm giving up on PGP by hollander on Wednesday December 07, 2016 @03:23AM (#13121242)
> It might be worthwhile to bring Signal (or atleast the idea) to other protocols like E-Mail.

I like this idea a lot!

Re:I'm giving up on PGP by morgante on Tuesday December 06, 2016 @10:08PM (#13120153)
> I don't think the "WoT" is conceptually flawed, and frankly, the argument that "people of average intelligence" can't grasp the concept comes from a very high horse and is also untrue.

The average person already struggles to even use a computer and to accomplish tasks which seem very basic to us. [0]

I can't imagine them figuring out how to use PGP. The WoT is a complicated system to understand for even technically proficient users, let alone average ones.

[0] https://www.nngroup.com/articles/computer-skill-levels/

Re:I'm giving up on PGP by edejong on Tuesday December 06, 2016 @05:40PM (#13118932)
The web of trust is fundamentally flawed and for very simple reasons.

First of all, the WoT is based on belief networks. What is a belief? Is it based on a probability? Is it binary? Can we believe something negatively? Whatever it is, we know it is subjective and difficult to define quantitively.

Second of all, even when formally specifying a belief using a certain quantity, we need to calculate transitive beliefs (person A beliefs with certainty x the identity of person B, C and D, who each believe with certainty y the identity of person E and A). This requires doing some matrix inversions for which the whole matrix needs to be known. However, who do we trust to provide us with the matrix? If I can provide the matrix, I can also tamper by adding extra nodes, thus shifting trust towards nodes I control. We can provide the matrix in a distributed fashion, but how do we prove completeness?

Then there is a temporal aspect to WoT which is hard to tackle. I might have a belief now, but that does not entail I will belief it tomorrow. Without a continuous stream of events on a subject, the precision of my beliefs are always diminishing. However, the current WoT networks do not take this fully into account (or transitive beliefs for that matter).

Re:I'm giving up on PGP by zeveb on Tuesday December 06, 2016 @05:58PM (#13119019)
> Web of Trust implies such a glaringly obvious visual metaphor that I am truly in awe that not a single program works that way.

Yeah, but it doesn't actually work. The fact that I know you (i.e., I'm willing to certify your identity) implies nothing about my trust in identities you certify. For all I know, you mint a new identity every second, and then use all those newly-minted identities to cross-sign one another's keys.

Re:I'm giving up on PGP by zby on Tuesday December 06, 2016 @01:02PM (#13116751)
Some time ago I had an idea for a web presentation of WoT - I thought it would be fun to explore and also maybe present a kind of gamified incentive to build WoT. I also thought that given how old the thing is there should be good libraries that would make writing it easy. Unfortunately this is was not the case - there are no real libs - there are only some workarounds that shell out the execs to do the work and then parse the output and it would be to resource expensive to run it at a web server.

I don't think WoT or PGP are fundamentally flawed - but we need a lot of experimentation to make it work and for that we need good libs.

Re:I'm giving up on PGP by jerf on Tuesday December 06, 2016 @10:16AM (#13115160)
"I wonder if pgp is fundamentally flawed, or we have a deep conceptual usability issue here."

I think it's the key model that's fundamentally flawed rather than pgp itself, which I believe the author of the article is also asserting.

In cryptography, it is often explained that despite the fact a one-time pad is guaranteed-secure (given various conditions I'm eliding), it is not practical in the vast majority of cases because of a chicken-and-egg problem: How do you distribute the one time pad in the first place? If you do it insecurely, it's a waste of time. If you can do it "securely", why not just use that secure channel to send the message in the first place? OTPs can still be useful because you can establish a secure channel once for a limited duration of time and then use it to temporally shift your security into the future, but that's a relatively rare use case. (That is, the vast bulk of encryption is being used between people who may never have had a "secure" channel between them; think HTTPS here.)

Similarly, PGP's got this significant problem where given that you have the correct keys and that you know you can trust them, it secures your communication quite effectively. But the question is, how do we get to the point where you know that you have the correct keys and you can trust them? Well... that's a hard problem itself. Especially considered over time.

So alternate models must be pursued.

Like the author, I think the Keybase approach is a good idea. In fact I'd even suggest that the idea should be generalized away from "social media accounts" to just "potentially unreliable mechanism" in general. If I have 6 mechanisms for asserting identity on my key, each of which are 95% reliable over the course of a year, then from an absolutist security point of view, that key is still insecure... but assuming even modest independence between the unreliable mechanisms (assuming naive total independence is definitely incorrect, once one is hacked the others are certainly more likely, but neither is it the case that one hack guarantees all others can be hacked), it's still much more secure than nothing at all.

Re:I'm giving up on PGP by pdkl95 on Tuesday December 06, 2016 @12:42PM (#13116558)
> How do you distribute the one time pad in the first place?

Something I've wanted to make for a while now, that should be possible to make with almost any cheap embedded microcontroller, is a hardware dongle that stores OTP pads. This would be a generic character device that could be integrated into existing chat programs.

* Each device has a hardware RNG, e.g. [1] or similar

* A port that allows two devices to connect. When connected, they each start generating random numbers, sending a copy to the other device. They both store the XOR of each device's random number as the pad.

* A USB interface accepts plaintext, the device generates the cyphertext, while enforcing deletion of the used portion of the pad. Decryption is handled with a similar interface, so the pads never leave the device.

* The device would provide to the host how much pad is remaining, to be used in the UI. Warnings should be provided when the pad is running low, etc.

The goal is to utilize existing knowledge and experience. Schneier (and others) recommend[2] that passwords be written down because people's understanding of physical security is better than their chances of memorizing enough entropy to actually make a usable password.

This isn't trying to solve the general WoT problem. Instead, it tries to solve a piece of it in a way that most people can understand. Connect devices when you meet in person, and you gain a certain amount of secure chat. Refill by meeting in person again.

It would be easy to extend this idea to provide other features (e.g. generating pubkeys), but since the goal is a simple device that is easy to understand, avoiding feature creep is important, at least initially. Features like WoT will be easier to implement if there is existing infrastructure that can be exploited.

[1] http://holdenc.altervista.org/avalanche/

[2] https://www.schneier.com/blog/archives/2005/06/write_down_yo...

Re:I'm giving up on PGP by loup-vaillant on Tuesday December 06, 2016 @03:33PM (#13118054)
You don't need to store a true one time pad. Keystreams are enough. So, while your device may act like it delivers a one time pad, it could instead draw a pseudo-random sequence from a chacha20 stream. That way, any synchronisation you do lasts for life.

But if we go to all this trouble, we might as well use public key cryptography, it's even easier to use. Internally, the dongle will be quite complicated, with stuff like Curve-stuff, Xchacha-something and poly-whatnot. What the users needs to know is simple:

Once initialised, your Dongle can publish a public a "fingerprint" that is unique to it. To decrypt messages encrypted with this "fingerprint", you need your dongle. To sign messages according to this "fingerprint", you need your dongle. If you lose it, your "fingerprint" becomes unusable, no recourse. If it gets stolen, the thief will be able to impersonate you, unless you did the sensible thing and locked your dongle with a secure passphrase (think Diceware).

Now we engineers can figure out how to make that dongle easy to use and secure against any compromised computer it may be plugged in. (We don't want the dongle to become untrustworthy just because it got out of your sight during lunch).

Re:I'm giving up on PGP by politician on Tuesday December 06, 2016 @01:40PM (#13117102)
If you only use the OTP data for a protocol that exchanges symmetric keys, then you could effectively extend the capacity of such a device. I'd buy one - it's an enhanced business card.
Re:I'm giving up on PGP by lmm on Wednesday December 07, 2016 @05:13AM (#13121586)
I suggest implementing version 0.1 as either a frontend to GPG with key on an existing smartcard (Yubikey or similar), or at least something that uses the existing OpenPGP standard for encryption. That way you don't have to worry about doing the cryptography from scratch and can focus on the UI side (which is hard enough on its own) and the fingerprint exchange (which is what your "extra port" needs to be). You don't have to make sure your device gets critical mass, because existing PGP users can interoperate with it (there already e.g. PGP plugins for instant messenging programs that you could adapt rather than having to write your own plugin ecosystem). And you may well end up producing something that's more useful to more people.
Re:I'm giving up on PGP by pdkl95 on Wednesday December 07, 2016 @12:37PM (#13124365)
> frontend

That's exactly the kind of complexity I'm trying to avoid. I would get zero benefit from existing public key infrastructure, because this is a device that enables 1-to-1 communication only. It may be possible in the future to exploit such a device to authenticate GPG keys, but not in the initial version.

> cryptography from scratch

I'm not doing much crypto other than generating random bits (hardware RNG with whitening). One of the reasons for doing this in an embedded device is to keep everything important isolated on the device (data diodes are useful) where the "one use only" rule can be enforced. The computer-accessible attack surface would be extremely small; it's mainly just a USB (or whatever) character device you write plaintext to and read back the OTP'd cyphertext.

> fingerprint exchange

There is no exchange or fingerprints. The entire goal is to have a type of secure communication that is easy to understand, so it can't have complexity like handshakes to exchange stuff or key management. Even if its hidden behind a UI, those features add complexity that affects how you use it.

> gets critical mass

Again, the goal is to not need critical mass. You only need that if you're trying to solve the general WoT problem. I'm only trying to provide communication between a pair of devices that will have to meet in person for synchronization.

> useful to more people

I'm assuming that people that know about GPG can already handle setting up their own secure communication. What I want to try is something that provides some features that everyone can understand. Trying to solve the entire problem at once has always made tools that were too complicated to understand if you have never of crypto. You might consider the device I've described as a kind of "training wheels" for the idea of using crypto.

> producing something

I'm not producing anything right now; this isn't a product of business plan. If I ever find the time and money to work on this project, it will just be a handful of hand soldered RNGs on Arduino boards or similar.

Re:I'm giving up on PGP by lmm on Wednesday December 07, 2016 @06:14PM (#13127104)
> That's exactly the kind of complexity I'm trying to avoid.

It's only complexity for the implementation, not for the user.

> I would get zero benefit from existing public key infrastructure, because this is a device that enables 1-to-1 communication only.

You'd get to reduce the storage requirements massively and make the devices much more reusable, because you wouldn't have to do exchanges and store the results.

> There is no exchange or fingerprints. The entire goal is to have a type of secure communication that is easy to understand, so it can't have complexity like handshakes to exchange stuff or key management. Even if its hidden behind a UI, those features add complexity that affects how you use it.

The UX is "plug these two devices into each other via some special custom port" either way, no?

> The computer-accessible attack surface would be extremely small; it's mainly just a USB (or whatever) character device you write plaintext to and read back the OTP'd cyphertext.

If the UI is a unix character device then your target audience is a subset of the people who already understand GPG.

> Trying to solve the entire problem at once has always made tools that were too complicated to understand if you have never of crypto. You might consider the device I've described as a kind of "training wheels" for the idea of using crypto.

Right, but part of the point of training wheels is you attach them to a regular bike, you don't use a completely different device. A specialized frontend that only uses a very small simple subset of GPG would be very helpful.

Re:I'm giving up on PGP by pdkl95 on Wednesday December 07, 2016 @10:45PM (#13128273)
> complexity for the implementation

Minimizing complexity is also important when writing a security feature. The entire firmware shouldn't be very large (bugs/kLOC is constant(-ish)), and dependencies increase attack surface.

> reduce the storage requirements

I don't see that as being a huge problem, because flash memory is cheap and I should be able to generate pads very quickly. Remember that the only problem I'm trying to solve is secure chat (text). 1MB of pad is a lot of typing.

I do like the idea mentioned in another comment about using the shared random secret as a stream of symmetric keys, which would nicely reduce the rate of pad usage without adding any more complex semantics.

> If the UI is a unix character device

I'm describing it to you as a character device, because I assume you know approximately what that implies (serialized data stream, etc). The UI for the user, for now, would probably be a plugin for libpurple or something, if I ever get time to write it.

> a very small simple subset of GPG

I've been trying variations of that idea for over 20 years. Many people need a far more rudimentary education about the idea of using crypto. I want to teach the idea of applying security at each end of the conversation. I want to teach the habit of putting an envelop on communication, even when it's just to a friend. I want to teach taking some of the responsibility for your own security instead of relying on 3rd parties ("the cloud").

I've tried to teach very small subsets of GPG already. That didn't work, so I'm simplifying the scope into something that will hopefully be easier to understand.

The "minimal GPG wrapped up in a very simple UI" device that you're talking about would make a great device to graduate into.

Re:I'm giving up on PGP by lmm on Thursday December 08, 2016 @06:16AM (#13129650)
> dependencies increase attack surface.

In the general case yes, but GPG is probably or at least should be the most carefully audited codebase in the world.

> I do like the idea mentioned in another comment about using the shared random secret as a stream of symmetric keys, which would nicely reduce the rate of pad usage without adding any more complex semantics.

Right, at which point you already need a high-quality symmetric encryption implementation (and definitely need to worry about timing attacks and other side channels - quite possibly something you need already at the true-OTP stage). Such as the one in GPG.

> I've been trying variations of that idea for over 20 years. Many people need a far more rudimentary education about the idea of using crypto. I want to teach the idea of applying security at each end of the conversation. I want to teach the habit of putting an envelop on communication, even when it's just to a friend. I want to teach taking some of the responsibility for your own security instead of relying on 3rd parties ("the cloud").

All good things. I just struggle to believe that the amount of internal-only simplification you get out of making the device OTP-only is worth the cost of requiring storage, becoming text-only, having to have one device for each person you communicate with, having no way to send messages to people you haven't met, and avoiding compatibility with what is still the most widely deployed cryptosystem with any hope of being secure against government-level threats (and the only cryptosystem that we have the NSA on record as being unable to break). I can certainly believe that most of these things aren't worth exposing in the UI, but deliberately using a different standard for the implementation to ensure that you will never have the ability to add even one of those things should they actually prove desirable seems like a poor cost/benefit.

Re:I'm giving up on PGP by ihnorton on Tuesday December 06, 2016 @01:23PM (#13116975)
> How do you distribute the one time pad in the first place?

I'm fairly naive to this area, but wouldn't video chat initiated with public keys suffice? Then confirm identities and exchange secrets. To me this seems substantially equivalent to in-person key exchange for non-Three Letter Agency threat models. 20 years ago this wouldn't really have been feasible, but today it (mostly) is -- from a quick glance at the FAQ, Signal may even support something like this already.

(If your threat model includes "abduction and coercion", then aren't you kind of hosed even with previous in-person OTPs?)

Re:I'm giving up on PGP by IncRnd on Tuesday December 06, 2016 @02:32PM (#13117551)
A video chat is not enough to safeguard secrets to be used in the future.

For one, if the video chat is secure enough for an otp exchange, the otp isn't needed.

Secondly, if your video chat gets recorded, which may very well happen, you need to use ephemeral keys.

Thirdly, since the video chat is likely recorded, at least the meta information, the effective security of your otp degrades over time, as new breaks or speedup s are created for the video chat cipher.

Re:I'm giving up on PGP by ihnorton on Tuesday December 06, 2016 @03:25PM (#13117978)
Interesting, thanks. Am I understanding correctly that point 2 & most of point 3 are risks because of the possibility of either future device compromise, or e.g. quantum decryption technology? These are very general risks, so why do they apply here any more than elsewhere?

I realized I probably should not have replied to the part about OTPs specifically. What I'm curious about is remote trust verification via secure video.

Re:I'm giving up on PGP by IncRnd on Tuesday December 06, 2016 @07:25PM (#13119487)
Partially, it's not just future device compromise but also Internet recording. It is best to assume that any communication over the Internet is recorded. From that standpoint, once the keys (not the device) are cracked the internal secret is also disclosed. This was why I recommended ephemeral keys.

By "cracking the keys" a cryptographic break is not always required. It can also happen via disclosure, a weak implementation, problems with the protocol, etc. One can scan a list of recent vulnerabilities for this: session reuse, master secret reuse, session resumption, heartbleed, etc.

I would call these out in particular here, because secrets are being exchanged. If those inner secrets are used to protect (directly or indirectly) multiple messages, the key disclosure becomes more pronounced.

You are quite correct regarding quantum computing. QC is guaranteed to break elliptic curve, DH, or RSA for example. The determining factor is the number of q-bits.

What do you mean by remote trust verification via secure video. That sounds quite interesting. Do you mean facial recognition inside a channel assumed to be secure, as a secondary validation of an otherwise "pre-trusted" party?

Re:I'm giving up on PGP by PuffinBlue on Tuesday December 06, 2016 @01:33PM (#13117051)
If a video chat with public keys is secure enough to exchange a one time pad, why would you need to bother with the one time pad at all?

By transmitting your OTP it is no stronger than the method used to protect it in transport, so if that transport method is secure enough to guarantee the security of the OTP, why not simply use that method for everything and forget about the OTP?

Re:I'm giving up on PGP by ihnorton on Tuesday December 06, 2016 @01:52PM (#13117208)
I did say "exchange secrets" for a reason -- that secret may be a key for later use (e.g. for data dumps), or actual information.

What I'm trying to understand is whether the (relatively new) feasibility of interactive video channels allows for building roughly the same level of trust as would be provided by in-person key exchange. I'm basing this on the understanding, possibly incorrect, that encryption with a public key allows for creating a secure communication channel, but not necessarily a trusted one. The hypothesis is that the capability to conduct interactive video provides a way to verify identity and establish trust at roughly the same level as would be provided by in-person exchange (again, assuming 1-1 trust, and excluding TLA threat models).

Re:I'm giving up on PGP by mcbits on Tuesday December 06, 2016 @02:26PM (#13117508)
I might trust a video chat today to verify an identity, but only because it would be a relatively new method. Definitely not in a few years if it ever took off. It's already possible to forge a talking head and fall back on "sorry, bad connection out here in the field" to hide glitches.
Re:I'm giving up on PGP by cortesoft on Tuesday December 06, 2016 @07:16PM (#13119443)
You are forgetting a key part of the 'trust' thing; you have no way of knowing if someone is man in the middle attacking your video chat.

Example: Alice wants to video chat with Bob to exchange the secret key and verify identity. Mallory sets up a MITM attack, and gives her own public key to both Alice and Bob. Alice and Bob think they are securely talking with each other, but they are actually securely talking with Mal, who decrypts the video, watches it, then forwards it on to the other person.

This is why you can't have a secure communication channel without trust; you don't know if your secure communication is being intercepted, read, and then passed on.

Re:I'm giving up on PGP by at612 on Tuesday December 06, 2016 @06:06PM (#13119057)
> How do you distribute the one time pad in the first place? If you do it insecurely, it's a waste of time. If you can do it "securely", why not just use that secure channel to send the message in the first place?

Because you may not have any messages to send at the time of the secure exchange of OTPs. Do note that one time pads are (or at least were) commonly used in the military.

> But the question is, how do we get to the point where you know that you have the correct keys and you can trust them?

That is not a technological problem per se, but rather a social one. Imagine that when you exchange phone numbers (or Farcebook IDs, if you're into that) with your work colleagues, or friends, or fellow attendees at that developer meetup, you also exchanged public keys.

Mechanically, the interaction is at about the same level of complexity, and effectively, as has already been mentioned, the web of trust already exists (Farcebook, ChainedIn, and all the other bollocks).

If any of those decided to implement secure end-to-end comms using PGP and offered you the possibility of uploading your public key for dissemination to your "friends", PGP might become ubiquitous in a matter of weeks. At a smaller scale, German email provider GMX is doing exactly this, by the way.

Re:I'm giving up on PGP by coldpie on Tuesday December 06, 2016 @10:37AM (#13115299)
> Like the author, I think the Keybase approach is a good idea. In fact I'd even suggest that the idea should be generalized away from "social media accounts" to just "potentially unreliable mechanism" in general.

It already has this to a small extent. You can sign other stuff like domain DNS entries or HTTP servers (by hosting a file).

Re:I'm giving up on PGP by UweSchmidt on Tuesday December 06, 2016 @11:23AM (#13115798)
"How do you distribute the one time pad "

Well you hand it over to the person you want to communicate with when you see them?

Obviously that doesn't work in many use cases, but in many other cases it does: many of the most important secrets are typically shared with people you already know and have met before, no?

Re:I'm giving up on PGP by jerf on Tuesday December 06, 2016 @11:42AM (#13115967)
When did you meet Paul Graham and hand over to him the crypto material you are using on the HTTPS connection you are reading this on?

The vast majority of encryption in the real world is between people who did not meet and exchange crypto info.

(Note this is specifically about one-time pads. While I agree the Web of Trust has failed, it is one effort to circumvent the problem.)

Re:I'm giving up on PGP by UweSchmidt on Tuesday December 06, 2016 @12:08PM (#13116220)
If he cared then he'd probably be the one handing over crypto material and instructions (about whatever crypto), as you probably need some clout to make it happen.

If even he says "write me an email in plaintext" then I'm not too hopeful for crypto in General.

Re:I'm giving up on PGP by KMag on Tuesday December 06, 2016 @11:40AM (#13115946)
That's exactly what the OP was talking about when s/he said "temporally shift your security".
Re:I'm giving up on PGP by sdenton4 on Tuesday December 06, 2016 @11:34AM (#13115900)
Like when I buy a new laptop from new egg, or contact Laura Poitras with a hot scoop...
Re:I'm giving up on PGP by UweSchmidt on Tuesday December 06, 2016 @11:52AM (#13116064)
No.

But when you discuss the real secrets with a journalist or business partner in another country. Email communication with family members, business partners.

Potentially web traffic with your company's or bank's website, why not.

Re:I'm giving up on PGP by lmm on Tuesday December 06, 2016 @12:17PM (#13116306)
Innovative new ways of distributing PGP key fingerprints are to be welcomed. But why would you not keep using PGP for the part that it's good at?
Re:I'm giving up on PGP by floatrock on Tuesday December 06, 2016 @12:43PM (#13116564)
The author did include the standard UX-of-PGP-sucks arguments, but he was also making the point that some of the core models around PGP suck.

eg he was saying you can't share a key across multiple devices. Or if you do, you just increase your attack vector and your weakest link becomes the hotel wifi you plug into.

eg if your key does get compromised, now you have to rotate all your contacts, which if you distributed your key on a business card, is pretty friction-prone and encourages you to discount that weird activity that could have been a blip you saw on the hotel wifi.

The big one is if your key ever does get compromised, now all your past history becomes accessible. So he's saying there's some things that PGP is fundamentally bad at, and you need a new model, not just a band-aid UX fix.

> Finally, these days I think I care much more about forward secrecy, deniability and ephemerality than I do about iron clad trust. Are you sure you can protect that long-term key forever? Because when an attacker decides to target you and succeeds, it won't have access from that point forwards, but to all your past communications, too. And that's ever more relevant.

Re:I'm giving up on PGP by lmm on Tuesday December 06, 2016 @01:11PM (#13116843)
> eg he was saying you can't share a key across multiple devices. Or if you do, you just increase your attack vector and your weakest link becomes the hotel wifi you plug into.

So what are the options here? You can have a GPG key protected by any mechanism you care to think of (passphrase, smartcard, ...). You can share it between devices or not as you see fit, subject to the same tradeoff that is always going to be involved in that decision. I can't see any way to do it better?

> eg if your key does get compromised, now you have to rotate all your contacts, which if you distributed your key on a business card, is pretty friction-prone and encourages you to discount that weird activity that could have been a blip you saw on the hotel wifi.

PGP actually has very good support for key rotation by using subkeys - you keep your master identity key offline/secure and that's what other people sign, but you use it only to sign subkeys with short expiry times. People don't use it, but that's a UX issue.

> The big one is if your key ever does get compromised, now all your past history becomes accessible. So he's saying there's some things that PGP is fundamentally bad at, and you need a new model, not just a band-aid UX fix.

True, but I think long-term signing is often what you want. There are different models that make sense for different communication scenarios certainly.

Re:I'm giving up on PGP by mjevans on Tuesday December 06, 2016 @02:03PM (#13117301)
Actually you also have to use it to sign /other people's/ keys.
Re:I'm giving up on PGP by lmm on Tuesday December 06, 2016 @07:29PM (#13119503)
True. But the point is you don't need to take it travelling with you.
Re:I'm giving up on PGP by JulianMorrison on Tuesday December 06, 2016 @10:31AM (#13115258)
I'm going with fundamentally flawed. Or perhaps more exactly, a solution for a non-problem.

Things PGP can do:

- Hide the contents of a message. But not the fact of a message nor who it's to. And it's only as hidden as a key that your recipient has to keep secret indefinitely.

- Permanently be incriminating, since the message can be as easily opened a decade from now.

- Prove you're you. Which is great for incriminating you. Also the proof is only good if your secret key is still secret, which probably isn't the case if you've been arrested. At that point, it's good for convincing people it's you when it's really the FBI.

- Authenticate keys through a trust mechanism so sparsely populated that unless you're actually in a spy cell, the chances of having a valid trust path from A to B is astronomically small.

- Distribute keys through what is really only slightly more sophisticated than a world-writable Dropbox.

Re:I'm giving up on PGP by nickpsecurity on Tuesday December 06, 2016 @12:03PM (#13116165)
Add one more thing: stop the NSA per the Snowden leaks. Everything else in the leaks failed that test. Using a solution strong against the strongest attacker is worthwhile to people wondering how good various solutions really are.

Far as a decade from now, that's probably all you need given the statute of limitations.

Re:I'm giving up on PGP by pc86 on Tuesday December 06, 2016 @02:02PM (#13117289)
Statute of limitations isn't a blank slate that means if you can get away with something for n years you're off scott free.

I'm not googling this type of query at work, but typically as more information about a crime becomes available to law enforcement, the statute of limitations is reset. So if you're buying something illicit and securing communications with PGP, and the SOL is 5 years, if LE doesn't get the contents of that communication for 4 years, they still have 5 years to decide what to do with it.

All SOL means is that LE can't sit on incriminating information about you indefinitely and pursue charges decades in the future for minor crimes.

Re:I'm giving up on PGP by Nadya on Tuesday December 06, 2016 @12:00PM (#13116141)
1) Key rotation can solve the second part of this.

2) Key rotation solves this, but you lose the ability to read old messages yourself. If you don't have the keys anymore you can't view the message.

3) This isn't unique to PGP? Or do you have an alternative? Because plaintext is infinitely less secure in this regard.

4) Depends how you determine trust of a user. In an ideal world you'd be correct. But I trust the person I've known for nearly 6 years is them when I signed their key, though we've never met IRL. Very possible it isn't them but is also astronomically slim of a chance.

Key rotation makes the WoT even more complicated and less trustworthy. That's a big problem.

Re:I'm giving up on PGP by JulianMorrison on Tuesday December 06, 2016 @12:11PM (#13116247)
Missing the point a little bit on 4.

Proving you're you is great if you're, say, Canonical distributing package updates to Ubuntu, where the adversary is malware distributors.

But where your adversary is eg: the FBI, then it promotes a false sense of assurance, because it's actually really easy to spoof someone if you can arrest them and force them to give the key password.

Re:I'm giving up on PGP by Nadya on Tuesday December 06, 2016 @01:27PM (#13117005)
>because it's actually really easy to spoof someone if you can arrest them and force them to give the key password.

Country dependent [0]. Not enough evidence one way or the other for FBI coercing.

[0] https://en.wikipedia.org/wiki/Key_disclosure_law

Re:I'm giving up on PGP by orthecreedence on Wednesday December 07, 2016 @11:59AM (#13124006)
s/FBI/anyone with a gun/g
Re:I'm giving up on PGP by nshepperd on Tuesday December 06, 2016 @04:07PM (#13118345)
> - Prove you're you. Which is great for incriminating you. Also the proof is only good if your secret key is still secret, which probably isn't the case if you've been arrested. At that point, it's good for convincing people it's you when it's really the FBI.

So, best practice: publish your private signing key publically if you ever get arrested?

Re:I'm giving up on PGP by WorldMaker on Tuesday December 06, 2016 @10:25AM (#13115220)
It is interesting this realization that Power Users have very similar User Experience problems in Key Management that Novice Users have, but of a different degree. It does maybe speak to a deep conceptual usability issue in the WoT model. Maybe the tough learning curve has always been a symptom of the thousand papercuts of the Knowledgeable/Power User case and it is time to question the model and look for alternatives.

The Web of Trust is built on long term trust of objects that should be short term and plentiful and that does seem an inherent contradiction in terms. WoT "best practices" have always been that keys should never live that long (at most two to five years being an old received wisdom back when I was most actively exploring the WoT), but proper key signing involves lots of little contacts (or key signing "parties") that are slow to accumulate and should last a great deal of time, but are applied to a specific key.

Power Users can get some continuity between keys when rotating them by signing new keys with old ones before they expire, if they can manage that key that long and are prescient enough to build and sign a new key. (I know I lost continuity with my most trusted WoT key by not managing it well enough and I'm certainly not alone there; there is a great deal of churn in the WoT and lot of it is expired.)

So Power Users try for longer term keys with further risks and even larger key management issues and with those longer term keys they try to manage a coterie of smaller term keys exponentially increasing the number of key management issues.

Keybase seems to be the best bet at a trust model that distinguishes active keys from long term trust (social trust), and might be a good answer if they solve "average user" user experience.

Signal and WhatsApp and some of the other OTR-ish mobile apps with E2E encryption seem to have solved some of the "average user" user experience problems, but don't seem to have good long term trust models.

Somewhere in the soup maybe someone will solve more of the chicken-and-egg hurdles and evolve something that works for everyone.

Re:I'm giving up on PGP by alistproducer2 on Tuesday December 06, 2016 @01:01PM (#13116742)
>we have a deep conceptual usability issue here.

yes, yes we do. All this stuff seems easy if you have the curiosity so spend hours and hours reading dry documentation about how it works. This is to say nothing of actually getting your hands on the tech and inevitably having problems that require more hours of forum searchs, IRC, and other time drains.

It's not that "regular" people are too stupid to do this, they just don't see the value proposition in it. Even when the privacy issue starts to negatively affect regular people (think Black Mirror "Nose Dive") many still won't be interested in the technology to do what I wrote about above.

I spent a bit of time in the crypto community and immediately I realized there is a human resources problem. the communities, for the most part, have no one that understands or care about how to dumb the UX down enough to make the value prop work for regular people.

Re:I'm giving up on PGP by curried_haskell on Tuesday December 06, 2016 @06:26PM (#13119176)
And it's not just regular people, it's developers, programmers. Most devs I know look at pgp and are totally capable of figuring it out, but what they say basically boils down to: ain't nobody got time for that
Re:I'm giving up on PGP by jamesgeck0 on Tuesday December 06, 2016 @11:37AM (#13115925)
> I wonder if pgp is fundamentally flawed, or we have a deep conceptual usability issue here.

Last time I tried to use PGP on Windows, the gpg4win setup application crashed repeatedly during installation, and I had to use a walkthrough with screenshots because I couldn't figure out how to sign messages in Thunderbird.

Forget deep conceptual usability issues; there are tons of major surface level usability issues.

Re:I'm giving up on PGP by the8472 on Tuesday December 06, 2016 @11:54AM (#13116089)
Is there anything that enables key exchange via smartphones? Ideally it should be as easy as a meatbag handshake.

Basically, if you can swap contacts via NFC then the pgp keys should go along with it.

It may have some theoretical weaknesses such as the exchange being MITMable if the users don't verify something on their screens, but I think having many more edges in the graph would make up for it since you might already have an expectation for that key through friends-of-friends paths.

Re:I'm giving up on PGP by ryukafalz on Tuesday December 06, 2016 @12:12PM (#13116254)
OpenKeychain does this, provided both users have it of course.
Re:I'm giving up on PGP by NoGravitas on Wednesday December 07, 2016 @10:26AM (#13123162)
To expand on this, OpenKeychain wants you to use the camera on your phone to scan a QR code on your friend's phone.
Re:I'm giving up on PGP by hackermailman on Tuesday December 06, 2016 @11:19PM (#13120429)
https://www.cylab.cmu.edu/safeslinger/ does simple handshake exchange and works w/iOS/Android but unsure if still maintained
Re:I'm giving up on PGP by tibbon on Tuesday December 06, 2016 @04:40PM (#13118570)
So not really for iOS :/
Re:I'm giving up on PGP by Steeeve on Tuesday December 06, 2016 @03:18PM (#13117917)
> I wonder if pgp is fundamentally flawed, or we have a deep conceptual usability issue here.

IMO, the idea, the model, and implementation are flawed.

The idea that people care about a web of trust in general is bad. The model itself relies on the assumption that it's a popular piece of software that is used in the way it's intended. PGP itself is popular, but only for the fact that viable alternatives are thin. The software implementation is confusing to technical end users, and third party front ends are just as bad.

Re:I'm giving up on PGP by loup-vaillant on Tuesday December 06, 2016 @05:46PM (#13118961)
> The idea that people care about a web of trust in general is bad.

Well, the very question is kind of a type error: people don't know what a computer is in the first place. 1 in 4 can't use computer in any capacity, and 90% of the rest have zero knowledge of the underlying principles. They don't even know if they would care about a web of trust.

In the mean time, the powers that be are building us a network of universal spying. Oh well.

Re:I'm giving up on PGP by mtgx on Tuesday December 06, 2016 @11:06AM (#13115600)
> I wonder if pgp is fundamentally flawed, or we have a deep conceptual usability issue here.

Why not both? PGP is definitely flawed with its lack of perfect forward secrecy.

Re:I'm giving up on PGP by KMag on Tuesday December 06, 2016 @12:01PM (#13116149)
Perfect forward secrecy requires interaction between the two parties. So, either you need to require both parties be online simultaneously for their first interaction, or you give up on E2E encryption, or you allow the first message to not have PFS. (After you've established two-way communication, you can use Signal's dual crypto ratchet mechanism to maintain perfect forward secrecy with offline operation.) Now, maybe that first message is the null message or just a simple low-secrecy "Hello" message, but you still need that extra initial round-trip message to establish PFS.

Of course, you need to delete emails once sent and once read in order for PFS to be of much value. However, without PFS, there's really no such thing as a deleted email, just emails the FSB/NSA haven't yet rubber-hosed you for the keys yet.