TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Darkwire.io – instant encrypted web chat (Socket.io and Web Crypto API)

118 pointsby alanfriedmanover 7 years ago

14 comments

tptacekover 7 years ago
This doesn't look especially safe. In addition to the fact that the crypto is delivered by the server, and so every browser/server transaction is an opportunity for the server to surreptitiously backdoor the crypto operations, the underlying crypto here appears to be CBC+HMAC where the payloads are decrypted before the HMAC is checked.
评论 #15952044 未加载
评论 #15950419 未加载
评论 #15969960 未加载
DyslexicAtheistover 7 years ago
Without looking deeper into the app ... The WebCrypto standard makes a lot of assumptions in terms of underlying security and is dangerous (if not negligent) without proper security headers (XSS, CSRF, CSP), in place[0]. Since this site positions itself as a security relevant app, mistakes like these are incredibly worrying.<p><a href="https:&#x2F;&#x2F;securityheaders.io&#x2F;?q=https%3A%2F%2Fdarkwire.io%2FSkhYJzHGf&amp;followRedirects=on" rel="nofollow">https:&#x2F;&#x2F;securityheaders.io&#x2F;?q=https%3A%2F%2Fdarkwire.io%2FSk...</a>
评论 #15953019 未加载
Ros2over 7 years ago
Neat app, but curious why you aren&#x27;t using WebRTC p2p?<p>I&#x27;ve always thought something like this using WebRTC + a (simple) way to independently check that no data is being sent elsewhere would be really cool.<p>Btw you could declare a content security policy for just your site since you don&#x27;t load anything off domain <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTTP&#x2F;CSP" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;HTTP&#x2F;CSP</a> Good luck!
评论 #15951149 未加载
Aeolunover 7 years ago
For those who do not want to talk to themselves: <a href="https:&#x2F;&#x2F;darkwire.io&#x2F;Bkhi21HMz" rel="nofollow">https:&#x2F;&#x2F;darkwire.io&#x2F;Bkhi21HMz</a>
marknadalover 7 years ago
Quick response to some of the comments here:<p>- WebRTC is great in theory, terrible in practice (doesn&#x27;t work very well), and still needs a bootstrapping server. So it is better to have a reliable websocket based server as the default&#x2F;fallback, and WebRTC progressively enhanced.<p>- 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&#x27;t have the convenience of a browser based app.<p>- Yes, this app should be using the Web Crypto API (it is what we switched over to, for our P2P cryptographic user accounts: <a href="https:&#x2F;&#x2F;github.com&#x2F;amark&#x2F;gun&#x2F;wiki&#x2F;auth" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;amark&#x2F;gun&#x2F;wiki&#x2F;auth</a> ) 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.
评论 #15950406 未加载
评论 #15950086 未加载
pjmlpover 7 years ago
&gt; Slash commands (&#x2F;nick, &#x2F;me, &#x2F;clear)<p>So sad that young generations don&#x27;t know what an IRC stands for.
sleaveyover 7 years ago
The name makes it sound dodgy: &quot;dark&quot; reminds me of &quot;dark web&quot; and all the negative connotations. Not great for trustworthiness which is especially important for crypto.
评论 #15951475 未加载
mxuribeover 7 years ago
Kudos for working in this space...but why not just contribute to something like matrix?<p>See: <a href="https:&#x2F;&#x2F;matrix.org&#x2F;docs&#x2F;guides&#x2F;faq.html#what-is-matrix" rel="nofollow">https:&#x2F;&#x2F;matrix.org&#x2F;docs&#x2F;guides&#x2F;faq.html#what-is-matrix</a>
评论 #15952901 未加载
nkkollawover 7 years ago
Very cool!<p>I wonder if the word &quot;dark&quot; makes the name have a negative connotation?
guy98238710over 7 years ago
How does it differ from wire.com in terms of privacy? Besides, wouldn&#x27;t you have to transfer the chatroom name over another chat service since it changes all the time and users have no identity of their own?
评论 #15951087 未加载
taosxover 7 years ago
You could give the option to the owner of the room to set a password for anyone wanting to join. And maybe you could use the password to encrypt further communication.
free2rhyme214over 7 years ago
I understand the benefits from instant web chat, but I think it&#x27;s not too difficult to access the signal protocol through Whatsapp or Signal&#x27;s desktop app.
评论 #15949770 未加载
评论 #15951814 未加载
ishansguptaover 7 years ago
Feature request: Some kind of 2 factor authentication. Such that messages are encrypted are on the view as long as we enter a valid key.
TehJIDFover 7 years ago
Volafile seems like a better alternative to this.