5 ms·
This is exactly the use case for Magic Wormhole, which is what the cool kids use to transfer files: https://github.com/magic-wormhole/magic-wormhole https://gi
by tptacek 5y ago
This is exactly the use case for Magic Wormhole, which is what the cool kids use to transfer files:
https://github.com/magic-wormhole/magic-wormhole https://github.com/magic-wormhole/magic-wormhole
Magic Wormhole uses an end-to-end PAKE to create an encrypted transport between two points in the Internet, using a rendezvous server.
It doesn't store files, which is almost never what you want; it's not a way to send a file and have 10 or 100 people download it. But it's probably the best way to get a file through a bunch of arbitrary network controls, NATs, &c to a desired destination. There's a Go implementation as well:
https://github.com/psanford/wormhole-william https://github.com/psanford/wormhole-william
... which is what I use most of the time. If you haven't played with it, I highly recommend it.
- JackGreyhat 5y agoThis and croc. Link: https://github.com/schollz/croc https://github.com/schollz/croc
- igorhvr 5y agoHa - so cool. I love that it can be easily used to send a stream (the only thing I missed in magic-wormhole). Basically, ls -lah | croc send works. Thanks for this link!
- aborsy 5y agoConsidering that a small deviation from a cryptographic protocol could fully turn cipher text to plaintext in a revered tool frequently recommended in HN: https://redrocket.club/posts/croc/ https://redrocket.club/posts/croc/ I would hesitate a bit before rushing to use cool kids’ software (until it’s sufficiently proven).
- tptacek 5y agoI don't know anything about croc, I haven't looked carefully at it, and don't recommend it (or have any opinion on it). Lots of smart people have looked at Magic Wormhole, which is one of the things that makes it neat.
- peakaboo 5y agoThis is a great way to make sure there are no alternatives to Magic Wormhole. If this attitude was common in web browsers, we would only have one software of its kind in every category. No choice for users whatsoever.
- tptacek 5y agoWhat's a good way to make sure of it? Not having any opinion of it, because I haven't looked at it? There are a lot of alternatives to Magic Wormhole. Unfortunately, most of them are pretty sketchy. One thing I can say about Magic Wormhole: it's not sketchy.
- teawrecks 5y agoThis sounds like a slippery slope. No one is saying not to try anything else, they're saying to make sure and use stuff that is more likely to be safe. In the case of web browsers, we do only use like 4 or 5 out of thousands.
- deleted 5y ago[deleted]
- prurigro 5y agoSince not everyone will click the link and read to the end of the post, it seemed worth pointing out that the vulnerability being commented on here was fixed: https://schollz.com/blog/croc9/ https://schollz.com/blog/croc9/
- zikduruqe 5y agoAnd Eureka: https://github.com/mimoo/eureka https://github.com/mimoo/eureka
- cemsbr 5y agoNo, it's not. Transfer.sh does not require anything to be installed in both sender and receiver ends. Only the browser is enough.
- iampims 5y agohttps://webwormhole.io/ https://webwormhole.io/
- tptacek 5y agoThen it's not secure.
- BerSerKer 5y agoYou seem to be missing the point. If I wanted to send a funny webm in a room on Discord or IRC for example, if I didn't want to upload it directly to Discord that is, I could use this with ShareX to upload it and get a link that's easy to share. It's not supposed to be secure. It has its place alongside Magic Wormhole just fine.
- tptacek 5y agoIf you want to send a funny webm, use whatever you'd like. The comment to which I responded to said "no, this isn't the same use case, because Magic Wormhole makes you install something". If they'd said "this isn't the same, it's supposed to be OK for this to be grievously insecure", I'd have shrugged and moved on.
- mr_mitm 5y agoI wish magic wormhole used federated rendezvous servers, was usable from within a locked down corporate network, had a .NET implementation with a pretty GUI so that even my mom could use it, came with all major OS by default and was as accepted as e-mail so that I can actually share files with everyone, not just my nerdy friends. Is that even remotely a realistic thought?
- AgentME 5y agoI feel like a web clone of it hits some of your goals: https://webwormhole.io/ https://webwormhole.io/
- mr_mitm 5y agoIt does, except it removes a giant advantage of magic wormhole: True end to end encryption requiring only TOFU. The web version downloads JavaScript every time and unless a specific version is somehow pinned by default, you are in principle vulnerable to MitM attacks.
- alephu5 5y agoHost your own version and hash all the JavaScript sources https://www.srihash.org/ https://www.srihash.org/
- amelius 5y agoBut does it support a time difference between sending and receiving? This is the main feature I'm curious about.
- 1vuio0pswjnm7 5y agoWhat stops someone from using up all the channel IDs on the rendezvous server. Also why no attempt at NAT traversal; instead relaying traffic through a transit server. It's almost as if the project's purpose is not so much to create superior file transfer but more just to showcase a use of SPAKE2.
- diplodocusaur 5y agoI think this is your question, if not, my apologies https://youtu.be/oFrTqQw0_3c?t=1594 https://youtu.be/oFrTqQw0_3c?t=1594
- jwilk 5y ago> almost as if the project's purpose is not so much to create superior file transfer but more just to showcase a use of SPAKE2. That's my feeling too. See my rant: https://news.ycombinator.com/item?id=24519895 https://news.ycombinator.com/item?id=24519895
- tptacek 5y agoThis rant is pretty silly. Nick Lamb's took the time to refute it on that thread; you should acknowledge that before continuing to cite your thread as if nobody had corrected you.
- jwilk 5y agoWho's Nick Lamb? Anyway, the thead is very short, so if there were any corrections there, people can read them and make their own mind.
- tptacek 5y agoSure, people should just read that whole thread. It doesn't sound like Magic Wormhole's authentication really clicked for you in the original rant.
- odyslam 5y agoThanks for sharing wormhole!