Live data from Hacker News

OpenPGPjs has passed an independent security audit

protonmail.com

81–90 of 128 posts

Re: OpenPGPjs has passed an independent security audit

#81

> The only limitations come from the platform itself (JavaScript/web), which do not allow for side channel resistance or reliable constant time operations. Overall however this is an exceptional library for JavaScript cryptography. How would this compare to something like WebCrypto, which assume would be implemented in a way that would allow for side channel resistance etc? It does seem surprising that we don't have…

You are confusing crypto primitives with a high-level spec like OpenPGP. OpenPGPjs used WebCrypto and node crypto libraries when available for primitives. You still need a library for the OpenPGP stuff.

Whoops, I see my mistake, thanks.

Re: OpenPGPjs has passed an independent security audit

#82
post #9

I have zero trust in Proton after learning, that the free ProtonVPN service is provided by a data mining company from Eastern Europe[1]. [1] https://news.ycombinator.com/item?id=17258203 (please turn on "showdead" in settings, to see the entire thread)

Cloud should not really be trusted for anything that requires privacy (unless you encrypt the data locally first using GPG or something similar).

Re: OpenPGPjs has passed an independent security audit

#83
post #80
post #35

Thanks to the great folks at PARAGONIE our open source platform (ie you can actually tell the code is always the same and you can host it yourself) also just passed an independent security audit: https://paragonie.com/audit/L7TtZbFoJBxR91Xg I didn’t think it was worth it to post to HN as news, though. Perhaps I should start posting our achievements a bit more. Like for example our Group Rides feature: https://youtu.b…

> Perhaps I should start posting our achievements a bit more. Maybe, but don't do it in someone else's thread trying to steal the spotlight from them... Really bad taste.

How am I stealing the spotlight from them? They are on the front page, whereas mine is just a comment that's relevant to it. They still have the spotlight, the link is still there and my comment only adds to the number of comments on the story.

If anything, the comments saying that they shouldn't be trusted, etc. harm them more than my comment.

Actually my comment should be: I don't think being audited by a third party firm is newsworthy, this is us being audited and we didn't post it.

Re: OpenPGPjs has passed an independent security audit

#84
post #79

Earlier quoted context omitted.

Nothing you said here addressed the facts that were provided. Good luck!

Well one things certain: I'll never use Private Internet Access after this ridiculous comment from you[0] not even three months ago. [0] https://news.ycombinator.com/item?id=17261149 -- need to have "showdead" enabled in profile

I stand by that statement.

Re: OpenPGPjs has passed an independent security audit

#85
post #83
post #80

Earlier quoted context omitted.

> Perhaps I should start posting our achievements a bit more. Maybe, but don't do it in someone else's thread trying to steal the spotlight from them... Really bad taste.

How am I stealing the spotlight from them? They are on the front page, whereas mine is just a comment that's relevant to it. They still have the spotlight, the link is still there and my comment only adds to the number of comments on the story. If anything, the comments saying that they shouldn't be trusted, etc. harm them more than my comment. Actually my comment should be: I don't think being audited by a third par…

PR is hard. Replies like the one you got are a hint that you need to learn a lot more than just "This right here that I thought was not really newsworthy is totally newsworthy."

;)

(Chin up and all that. This is not intended to be in any way hostile.)

Re: OpenPGPjs has passed an independent security audit

#86
post #19
post #9

I have zero trust in Proton after learning, that the free ProtonVPN service is provided by a data mining company from Eastern Europe[1]. [1] https://news.ycombinator.com/item?id=17258203 (please turn on "showdead" in settings, to see the entire thread)

I agree that people should read the linked comments. I did not find the the evidence to be as clear cut or damning as OP seems to think at all after reading through it. Most claims are also put forward by a co founder of Private Internet Access. A direct competitor.

This is exactly my thoughts as well. rasengan is the cofounder and thus is very biased against ProtonMail since they're a competitor.

Re: OpenPGPjs has passed an independent security audit

#87
post #61

Earlier quoted context omitted.

You are confusing crypto primitives with a high-level spec like OpenPGP. OpenPGPjs used WebCrypto and node crypto libraries when available for primitives. You still need a library for the OpenPGP stuff.

Does OpenPGPjs use WebCrypto to create keys which are not extractable? That's the big win here if you can make it impossible for a compromised client to leak keys which were used before/after the compromise.

This also means you can't use another computer or that your key is lost if you clear browser data. Unless you'd do backups but I doubt this is standard procedure of ProtonMail users.

Re: OpenPGPjs has passed an independent security audit

#88

Earlier quoted context omitted.

Doesn't SRI require the hashes to be in the __loaded__ html? I believe parent is referring to a page which is the same, but has been compromised on the server side, meaning you can't trust the html, even if the server is who it says it is.

Right, but what I'm saying is that you don't need the loader. Just have a bookmarklet with html that contains script tags with SRI. The loader is just another step you need to trust.

That does indeed work. Pretty neat. For anyone trying, here is basically all you need:

  data:text/html,
In total that should be a lot smaller than the linked codegolf answer.

Re: OpenPGPjs has passed an independent security audit

#89

Not that it matters. They could silently replace it with a backdoored script and your browser would never tell you it happened. And to preempt the ProtonMail rep who is probably going to respond to this comment, I know that you can run the web app on localhost. But that doesn't mean that users who don't are any more secure.

This (rightfully) comes up every time some browser-based encryption tool is posted. It seems like the desire for such tools isn’t going to go away. Is anyone working on solutions for making distribution of JavaScript applications more secure? There’s a range of assurances you could try to provide, e.x. signatures from the author (or even 3rd parties), prompting for updates, etc. It would likely require support from b…

I believe this sort of thing will be possible via the [Web Package Standard][1]

[1]: https://github.com/WICG/webpackage

Re: OpenPGPjs has passed an independent security audit

#90

Not that it matters. They could silently replace it with a backdoored script and your browser would never tell you it happened. And to preempt the ProtonMail rep who is probably going to respond to this comment, I know that you can run the web app on localhost. But that doesn't mean that users who don't are any more secure.

These concepts are interesting: https://codegolf.stackexchange.com/questions/18217/javascrip... https://bitbucket.org/geraintluff/caution.js/ The idea is that a long data-uri containing hashes and a small loader function are bookmarked. The loader won't load the corresponding javascript unless the hashes match. The user only needs to verify the javascript once, then they can rely on their bookmark containing the hash…

if you send the datauri by email (webmail) and use it from there someone with phisical access to the computer wont be able to change it easily.
Post reply on HN