Re:Show HN: Darkwire.io – instant encrypted web chat (Socket...
by gurgus on Monday December 18, 2017 @04:08AM
(#15950406)
> - Signal and Whatsapp, as others have pointed out, are far from being comfortable as being private (they already know too much, phone number, etc.), and don't have the convenience of a browser based app.
Whatsapp does have a browser based app. web.whatsapp.com
Re:Show HN: Darkwire.io – instant encrypted web chat (Socket...
by marknadal on Monday December 18, 2017 @05:04AM
(#15950609)
I get a "download the app to scan QR code and login" wall / lock-out. This wouldn't count as being browser-based!
Re:Show HN: Darkwire.io – instant encrypted web chat (Socket...
by lawl on Monday December 18, 2017 @06:55AM
(#15951043)
This is because the private key to en/decrypt messages never leaves your phone. So the 'browser based' version still routes messages to your phone first (to presumably re-encrypt them with a different key that you got from scanning that QR code).
You can argue semantics if that counts as browser based or not, but I think that's actually a pretty sane way to to things, security wise.
Re:Show HN: Darkwire.io – instant encrypted web chat (Socket...
by gurgus on Monday December 18, 2017 @05:18PM
(#15956028)
It's in a browser. It's browser based.
Re:Show HN: Darkwire.io – instant encrypted web chat (Socket...
by rymate1234 on Monday December 18, 2017 @02:34AM
(#15950086)
Isn't the web crypto API chrome only at the moment?
- WebRTC is great in theory, terrible in practice (doesn't work very well), and still needs a bootstrapping server. So it is better to have a reliable websocket based server as the default/fallback, and WebRTC progressively enhanced.
- Signal and Whatsapp, as others have pointed out, are far from being comfortable as being private (they already know too much, phone number, etc.), and don't have the convenience of a browser based app.
- Yes, this app should be using the Web Crypto API (it is what we switched over to, for our P2P cryptographic user accounts: https://github.com/amark/gun/wiki/auth ) to reduce dependency on the server. You can use the `integrity` attribute to help out with this, but ultimately unless somebody installs it as an Electron app or something, browser based crypto has its limitations.