Re:Tanker: End-to-End Encryption SDK for JavaScript
by msy_ on Wednesday May 22, 2019 @11:05AM
(#19981969)
Could it be done with a browser extension?
[ Parent
| on HN ]
Re:Tanker: End-to-End Encryption SDK for JavaScript
by CiPHPerCoder on Wednesday May 22, 2019 @11:08AM
(#19981999)
You'd think, but everyone I know that explored this option ended up just implementing desktop software instead (e.g. with Electron).
Re:Tanker: End-to-End Encryption SDK for JavaScript
by tptacek on Wednesday May 22, 2019 @11:48AM
(#19982446)
Part of that is because by the time you're asking an ordinary user (not a super-opinionated "sophisticate" on HN) to install a Chrome extension, you're 95% of the way towards getting them to install a desktop application anyways, and that remaining 5% of effort is often worth the extra flexibility the Electron app gets you.
Re:Tanker: End-to-End Encryption SDK for JavaScript
by _rlx_ on Wednesday May 22, 2019 @05:30PM
(#19985741)
This is what the webext-signed-pages [1] extension does. This only works in a secure manner with Firefox though because Chrome extensions don't have access to the content of the HTTP responses [2].
[1] https://github.com/tasn/webext-signed-pages [2] https://bugs.chromium.org/p/chromium/issues/detail?id=487422
Re:Tanker: End-to-End Encryption SDK for JavaScript
by pjc50 on Wednesday May 22, 2019 @11:22AM
(#19982178)
You need the opposite of an extension, because in-browser crypto is incompatible with having any other "untrusted" extension. What you need is something with a reduced but secure feature set.
Re:Tanker: End-to-End Encryption SDK for JavaScript
by michaelchisari on Wednesday May 22, 2019 @01:59PM
(#19983691)
Ideally, it would be something the browser supported internally (without external js or plugins) with very minimal javascript entrypoints to decode/encode.