Live data from Hacker News

Ask HN: Why doesn't someone provide JS encrypted webmail

news.ycombinator.com

11–20 of 65 posts

Re: Ask HN: Why doesn't someone provide JS encrypted webmail

#11
post #10
post #9

Earlier quoted context omitted.

If the private keys were stored pass-phrase encrypted it could work, and the weakest link of your private key/passphrase defines your security.

Yes but then you'd also have to store them across all installed clients/browsers and, when accessing from another computer, first transport the keys to that computer. That's why I think public keys would be the user-friendly way. Public = Only passphrase protects the key.

Right, that's what I meant actually. It seems like something that should already exist.

Re: Ask HN: Why doesn't someone provide JS encrypted webmail

#15
post #8
post #5

What keeps the webmail company from supplying you with modified client-side JS code which forwards the keys you enter to $three_letter_agency?

Exactly, and I think that's a potential problem with hushmail (but those guys are to be commended for some honesty). How about a number of independent, hacker type, or FSF type communities certify the client side JS through md5 digests on the client side code or the like?

But how do I verify that the JS code being served to me in this moment is the version audited by the trusted party? AFAIK, mainstream browsers have no button to compute a hash over the contents of a website.

(And it's not just reusable JS libraries one would have to audit and checksum; the HTML code of individually rendered message pages could also contain JS code to subvert the security).

Re: Ask HN: Why doesn't someone provide JS encrypted webmail

#17
post #4
post #2

There are grease monkey scripts that do this. Maybe because there is very little demand?

If more people became aware how much of their profile resides with ISP's, DNS providers, and email hosts, I think many would prefer such a thing. Google, by the way is a DNS provider, search gateway, email host, AND an advertiser. It might be popular if it was free (you can still have some advertising), and actually secure. I'd imagine at least a portion of the hacker community would gravitate to it. Are you talking…

That link looks like it could be what the OP is after. The _only_ caveat is you need recipients to tell you where their key is stored. It would be good if there was a service that stored public keys keyed by email.

Re: Ask HN: Why doesn't someone provide JS encrypted webmail

#19
post #15
post #8

Earlier quoted context omitted.

Exactly, and I think that's a potential problem with hushmail (but those guys are to be commended for some honesty). How about a number of independent, hacker type, or FSF type communities certify the client side JS through md5 digests on the client side code or the like?

But how do I verify that the JS code being served to me in this moment is the version audited by the trusted party? AFAIK, mainstream browsers have no button to compute a hash over the contents of a website. (And it's not just reusable JS libraries one would have to audit and checksum; the HTML code of individually rendered message pages could also contain JS code to subvert the security).

Take a look at Aldo Cortesi's AppHash for one impl of verification of code right when it loads on the page.

Re: Ask HN: Why doesn't someone provide JS encrypted webmail

#20
Our webmail installation encrypts the password on the client side, it's never sent in plain and we never know what it is. It's not hard, various crpyto libs are available for Javascript. I've written multiple HTML based login systems that never require knowledge of the plain text

Is that what you mean ?

Edit: Oh, you mean we never know the plaintext of the email.

You mean like this : http://www.hanewin.net/encrypt/

http://46dogs.blogspot.com/2007/11/encrypting-to-pgp-gnupg-g...

http://stackoverflow.com/questions/2802541/pgp-encryption-in...

tl;dr - too slow

Post reply on HN