News for hackers. Stuff that matters.
Re:A thorough PGP tutorial by rmoriz on Sunday July 07, 2013 @06:44PM (#6003911)
use S/MIME, leave gpg for special cases.

S/MIME works everywhere (Outlook, Mail.app, iOS, Thunderbird, BlackBerry, Windows Phone, Lotus, ... ) out of the box. No plugins required.

Re:A thorough PGP tutorial by unhammer on Monday July 08, 2013 @07:14AM (#6006188)
S/MIME suffers from the same problem as SSL/TLS: everyone puts their trust in CA's, and CA's regularly get hacked, tricked, controlled by governments, etc. etc. It does not matter that you created your own private key if someone else can create their own private key too and have that signed by a bad (but trusted-by-everyone) CA.

How many regular users do you know who actually edit their list of trusted CA's in their browsers? (I sure don't, though I probably should.) Who would manually remove DigiNotar immediately because they heard on the news they got hacked? No, Big Well-Designed Site is signed by Big Company, user trusts it.

On the other hand, if I give you a key that's signed by someone you trust, you can make an informed decision on whether to trust my key. It is a decision on a level where the regular user might feel they have something to say (whereas a regular user is not likely to feel they know more about security than Big Company).

Perhaps most users would have very few keys that they trust/verify. But I'd say that's a good thing, because if you haven't gotten real verification, it's just a false sense of security.

Re:A thorough PGP tutorial by jarrett on Sunday July 07, 2013 @08:35PM (#6004328)
Do you mean we should build a good UX around S/MIME? It seems clear to me that none currently exists.

I'd be curious to hear from security specialists about S/MIME. How thoroughly studied is it? How are the libraries? I have hardly ever heard it discussed, so I'm a little hesitant at the moment.

Re:A thorough PGP tutorial by rmoriz on Sunday July 07, 2013 @08:40PM (#6004348)
It's already build in e.g. Mail.app.

We need no software. We need public awareness, tutorials and probably some easy to use CA.

I bet the adoption rate of S/MIME is way beyond gpg if you check corporations and large enterprises.

for example: Germany

https://gist.github.com/rmoriz/5945400

Re:A thorough PGP tutorial by jarrett on Sunday July 07, 2013 @08:49PM (#6004386)
I've thought some more about S/MIME, and right now my biggest concern is the CAs. I don't like having that central point of trust/failure.

Do you know if S/MIME can work on a distributed model?

Also, what are the advantages of S/MIME over PGP? I hear what you're saying about enterprise adoption, but I'm more concerned with the thoroughness of peer review than usage rates.

Re:A thorough PGP tutorial by rmoriz on Sunday July 07, 2013 @09:01PM (#6004429)
CAs are not a single point of failure because your private key should never leave your computer.

S/MIME is based on X.509, same thing that powers TLS/SSL.

Re:A thorough PGP tutorial by tptacek on Monday July 08, 2013 @01:21AM (#6005298)
CAs are a single point of failure if a government can get a key that your counterpart's UI will claim belongs to you.
Re:A thorough PGP tutorial by nikcub on Monday July 08, 2013 @03:56AM (#6005652)
then don't trust government controlled CA's, just as you wouldn't trust government controlled keyservers
Re:A thorough PGP tutorial by tptacek on Monday July 08, 2013 @09:50AM (#6006720)
The argument in favor of S/MIME is that it's already there and just works.
Re:A thorough PGP tutorial by 23david on Monday July 08, 2013 @01:56AM (#6005367)
Not necessarily true. There are certainly CAs that are able to keep their private keys out of the hands of most governments. But there is definite uncertainty about who to trust. For the truly cautious, wouldn't it make sense to explore setting up your own CA? Something like OpenCA or TinyCA should do the trick.
Re:A thorough PGP tutorial by JoachimSchipper on Monday July 08, 2013 @02:24AM (#6005445)
You're missing the point. If the UI says "yes, that's 23david" if I can get any CA to certify that, the security of the system is no better than that of the weakest CA. Sure, your CA may be perfect, but why would the attacker go for the strongest point?
Re:A thorough PGP tutorial by 23david on Monday July 08, 2013 @03:34AM (#6005595)
So perhaps that's an issue with the UI not clearly showing which CA is verifying the identity, and alerting you clearly if an encrypted email is using a different CA than prior ones.

Depending on the client you're using, it shouldnt be too hard to prune the trusted CA list to only include providers you choose to trust. If you want, only include your CA and remove all others.

Re:A thorough PGP tutorial by JoachimSchipper on Monday July 08, 2013 @11:30AM (#6007251)
So instead of PGP - which is already quite daunting, mind - the user now get to assess the security of 200+ CAs, most of which they've never heard of?
Re:A thorough PGP tutorial by 23david on Monday July 08, 2013 @01:12PM (#6007820)
You're right, this wouldn't make a lot of sense for most users.

But this would be useful in a corporation where it's possible to centrally manage CA lists for approved applications.

Re:A thorough PGP tutorial by sneak on Monday July 08, 2013 @07:10AM (#6006174)
Congrats, you've just reinvented PGP's web-of-trust.
Re:A thorough PGP tutorial by 23david on Monday July 08, 2013 @12:48PM (#6007680)
Probably makes sense to start deciding which CAs we should or shouldn't trust? Has anyone reliable done any work on rating or evaluating the trustworthiness/security of different CAs?
Re:A thorough PGP tutorial by Osmium on Sunday July 07, 2013 @06:55PM (#6003951)
I hear this, but I have absolutely zero idea how to get s/mime working and I'm faintly aware it might involve having to buy a digital certificate off someone (and doesn't that mean that someone could decrypt my email anyway? if they're the ones who generate the certificate?)

What I'm trying to say here is: I'm a bit of a geek, and if I don't understand how it works, there's no way e.g. my parents are. If s/mime is the solution, there's a serious education battle that needs to be fought.

I say this as someone who uses GPG (via GPG Tools on OS X) without any bother.

Re:A thorough PGP tutorial by scoot on Sunday July 07, 2013 @07:41PM (#6004119)
No, you generate your own, then have the public key signed by a CA having proven your identity to some greater or lesser degree, depending on the level of certification - but generating your own and having it signed is not a straightforward process in my (limited) experience.
Re:A thorough PGP tutorial by ncraike on Sunday July 07, 2013 @08:32PM (#6004311)
The problem with that method is the recipient of your mail is still relying on that CA to validate your public key. The CA could (willingly or under duress) sign some other public key and claim it's yours, then use that key to impersonate you, and even trick recipients into using that public key to encrypt emails intended for you. That would form the basis of a man-in-the-middle attack. It's unlikely to work if you've already been communicating using the real public key (depending on how the software handles new keys), but for new recipients in particular, it's possible.
Re:A thorough PGP tutorial by rmoriz on Sunday July 07, 2013 @08:38PM (#6004339)
that's possible with PGP, too, if you don't verificate key in person. E.g. "hey Alice, I lost my passphrase, please use the attached key or ID xxxx on one of the keyservers"

It's even easier to do, because you don't have to trick a CA in creating a duplicate key.

Re:A thorough PGP tutorial by ncraike on Sunday July 07, 2013 @08:54PM (#6004407)
> It's even easier to do, because you don't have to trick a CA in creating a duplicate key.

In some ways it's easier with PGP, yes.

But in some ways relying on a possibly-hostile CA is worse: if the software doesn't really give the user any visibility of key changes, then the impersonator won't even need to social-engineer the recipient with "whoops I lost my key". Instead, the duped recipient will just see "Signed by Big Trusted CA" with a shiny green padlock, and will think everything is fine, even though the key under the hood has changed.