5 ms·
There's already a very good, popular encrypted file sharing system called Magic Wormhole, with implementations in multiple languages. https://github.com/magic-
by tptacek 6y ago
There's already a very good, popular encrypted file sharing system called Magic Wormhole, with implementations in multiple languages.
https://github.com/magic-wormhole/magic-wormhole https://github.com/magic-wormhole/magic-wormhole
- remram 6y agoDamn, someone made wormhole.app and it does the same thing but is unrelated to magic-wormhole? That's seriously uncool.
- iaml 6y agoWhat is uncool is that it's using AES-GCM in all of its 128 bit glory, which is subpar compared to just using libsodium like magic-wormhole does.
- feross 6y agoPlease don't spread FUD. AES-GCM 128 is perfectly fine and it's standard for a reason.
- tptacek 6y agoAES-GCM is imperfectly fine and its standard has nothing to do with any of it. It's inferior in more than one way to the Chapoly-style ciphers in Sodium. Case in point: it looks like if callers to your ECE library pass in a repeated salt through Keychain for any reason, you'll generate a duplicate nonce, which blows up GCM. There are authenticated ciphers that mitigate this problem (most commonly: by having a nonce wide enough that you can simply always generate it randomly without requiring callers to manage it); GCM, on the other hand, is the poster child for that flaw. Since this is browser crypto, and not native execution like Magic Wormhole, all of this is irrelevant; the important distinction between the two projects isn't that one uses a lesser cryptosystem, but rather that the other uses real end-to-end cryptography and the other uses client-server cryptography pretending to be end-to-end.
- feross 6y ago> the other uses client-server cryptography pretending to be end-to-end This is misleading and false. Wormhole.app uses end-to-end encryption. To address the larger point – auditing a web app is indeed challenging with current web technologies. In the past, I experimented with a technique using App Cache to permanently cache a web app on first use [1]. Later, that technique was expanded into hyperboot [2] to give users the benefits of explicit, immutable versioning with control over upgrades using the html-version-spec while preserving the simplicity of passing around a URL. With the impending removal of AppCache from most browsers, the web is currently missing a way to "pin" a site to a specific version and only update it with user consent. Service Workers come close but they mandate a 24 hour maximum cache time before refetching from the server. We'd love to offer the usability benefits of web apps – you can give someone a URL and they can immediately load the app – with the security of installed apps – doesn't change without warning – once web standards catch up. This is something that I care deeply about. In the meantime, use magic-wormhole if you prefer a locally-installed command line tool and you're sending files to someone who understands the command line. Use Wormhole.app if you want usable end-to-end encryption, similar to what Firefox Send used to provide. [1]: https://github.com/feross/infinite-app-cache https://github.com/feross/infinite-app-cache [2]: https://github.com/substack/hyperboot https://github.com/substack/hyperboot
- tptacek 6y agoI stand by my analysis.
- psanford 6y ago> if you prefer a locally-installed command line tool and you're sending files to someone who understands the command line There's at least one good desktop GUI for Magic Wormhole[0]. I've also recently released an Magic Wormhole Android app[1][2]. [0]: https://github.com/Jacalz/wormhole-gui https://github.com/Jacalz/wormhole-gui [1]: https://github.com/psanford/wormhole-william-mobile https://github.com/psanford/wormhole-william-mobile [2]: https://play.google.com/store/apps/details?id=io.sanford.wormhole_william https://play.google.com/store/apps/details?id=io.sanford.wor...
- 6y ago
- minitech 6y agoI know, right? It’d be like making a linter configuration for your personal JavaScript style and naming it “JavaScript Standard Style”.
- feross 6y agoMore like making a linter configuration for your personal JavaScript style and then seeing the creator of JavaScript repeatedly endorse it [1][2][3][4][5][6][7]. Not to mention, the creator of the Web too [8]. EDIT: You might not like StandardJS – that's fine, feel free to use something else – but it's helped a lot of teams avoid pointless style debates and it's downloaded 1M+ times per month. [1]: https://twitter.com/BrendanEich/status/1149082576847400960 https://twitter.com/BrendanEich/status/1149082576847400960 [2]: https://twitter.com/BrendanEich/status/951558694570901504 https://twitter.com/BrendanEich/status/951558694570901504 [3]: https://twitter.com/BrendanEich/status/1157658128004997121 https://twitter.com/BrendanEich/status/1157658128004997121 [4]: https://twitter.com/BrendanEich/status/1126229937197707265 https://twitter.com/BrendanEich/status/1126229937197707265 [5]: https://twitter.com/BrendanEich/status/1014671417084792832 https://twitter.com/BrendanEich/status/1014671417084792832 [6]: https://twitter.com/BrendanEich/status/1378443247576440835 https://twitter.com/BrendanEich/status/1378443247576440835 [7]: https://twitter.com/BrendanEich/status/1170710893832753166 https://twitter.com/BrendanEich/status/1170710893832753166 [8]: https://twitter.com/feross/status/740592720230518784 https://twitter.com/feross/status/740592720230518784
- xd1936 6y agoMy comment on this on ProductHunt, and the developer's response: https://www.producthunt.com/posts/wormhole-2#comment-1312733 https://www.producthunt.com/posts/wormhole-2#comment-1312733
- feross 6y agoWormhole.app and magic-wormhole have different goals. Wormhole.app works in the browser, which means that it provides usable security to normal people. No `pip install` or command line needed. Wormhole.app stores end-to-end encrypted files for 24 hours so the share link continues to work even after the sender closes the tab or powers off their device.
- psanford 6y agoIndeed it is different enough to justify using a different name.
- phildenhoff 6y agoI was very excited to check this out, as I imagined `Wormhole.app` was a MacOS package for `magic-wormhole`, but, alas, it's just a web app with a very similar name.
- feross 6y agoThen you'll also be disappointed if you run: $ brew info wormhole wormhole: 1.5.4 https://er.run/ Not installed From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/wormhole.rb ==> Name Wormhole ==> Description Browse & Control phone on PC, Screen Fusion for iOS & Android ==> Artifacts Wormhole.app (App)
- BiteCode_dev 6y agoIt creates confusion since both share the word wormhole and the goal the share files. If you still can, changing the name of your product would help a lot, and also show respect to the older FOSS project.
- Klonoar 6y agoThis was also previously called out on HN. https://news.ycombinator.com/item?id=26666142 https://news.ycombinator.com/item?id=26666142
- sweis 6y agoThere's also a web-based relay for magic-wormhole: https://webwormhole.io/ https://webwormhole.io/ https://github.com/saljam/webwormhole https://github.com/saljam/webwormhole