Live data from Hacker News

Magic Wormhole: get things from one computer to another, safely

github.com

141–150 of 262 posts

Re: Magic Wormhole: get things from one computer to another, safely

#141
post #56

Just noticed by coincidence there's also: "Rust implementation of Magic Wormhole, with new features and enhancements" : https://github.com/magic-wormhole/magic-wormhole.rs

This lacks a few of the features of the other implementations (e.g, sending a zip and having it unpack correctly).

There is also https://magic-wormhole.readthedocs.io/en/latest/ecosystem.ht... and if that is lacking anything please file a ticket or pull-request

Re: Magic Wormhole: get things from one computer to another, safely

#142

I wasn't yet planning for it, but what the heck. https://zynk.it is a new project I've been working on together with a small team aimed at delivering a truly easy, fast, efficient, unlimited, privacy-respecting and pain free file-sharing experience. It’s peer-to-peer, E2EE and avoids centralized storage, aligning with the ethos of control and transparency we often discuss here. It allows users to send and receive any…

I'm assuming it won't be open-source? I don't really see why I would use a propietary/non FOSS version of this (magic wormhole).

The great thing about magic wormhole is that the protocol is open, and anyone could implement it for themselve.

For example there is the reference implementation in python, then there are implementations golang, rust and haskell. Flutter bindings so you can use it in flutter. Multiple GUI implementations for all operating systems, even mobile and the web (via WASM). It has also been implemented into other open source projects like tmux or termshark. https://magic-wormhole.readthedocs.io/en/latest/ecosystem.ht...

Also other comments in this thread mention many already existing alternatives e.g. https://news.ycombinator.com/item?id=41276443

Basically what I'm saying is, I'm locked to the applications you and your team have built. I couldn't "hack" something quickly together to integrate it into other things, I couldn't extend your clients by modifying the source code and I also couldn't verify that your code really does what it says (E2EE, privacy-respecting).

> What I hope sets Zynk apart is that it is built to literally be used by anyone, be it a power user, or my mom.

I'm sure that a more friendly UI/UX for non power users would be great, but IMO it would be even better if it used an open protocol like magic wormhole, this way the receiver does not also need to install a Zynk Client, but can use whatever he is already using. There is for example https://winden.app/about already exists, which seems to be a very user friendly UI, is open source and works without installing it.

Maybe I'm just too much of a "power user" (I use Linux on my computers/servers and a custom ROM on my phone) to understand what zynk could provide to me.

But I think (which means I don't have sources to back this up) the audience which does not care about e2ee/privacy already uses the solutions implemented into their OS (like AirDrop/Quick Share, share via iCloud/Google Drive/OneDrive/...) and from my experience the audience that cares about privacy/e2ee has a large overlap with the Open Source community which is more likely to use solutions like magic wormhole or croc.

Re: Magic Wormhole: get things from one computer to another, safely

#144
post #40
post #33

Earlier quoted context omitted.

Magic Wormhole is the first, and is its own thing. It's called "Magic" Wormhole for a reason: it tends to blow people away the first time they use it. So lots of people have copied the UX, and some of them have copied the name as well. What you should use is Magic Wormhole itself, or, if you want a non-Python runtime for some reason, wormhole-william.

> if you want a non-Python runtime for some reason [...] Magic Wormhole project has its own alternate implementation https://github.com/magic-wormhole/magic-wormhole.rs , which is also used by delightfully designed GNOME and Android apps; [Warp]( https://apps.gnome.org/Warp/ ), and [Wormhole]( https://play.google.com/store/apps/details?id=eu.heili.wormh... ), respectively.

There's also a Haskell implementation (besides the Go one pointed out above). They all interoperate.

Re: Magic Wormhole: get things from one computer to another, safely

#145
post #45

Earlier quoted context omitted.

If they're on the same network, cross platform, open source airdrop alternative https://github.com/localsend/localsend

I like LocalSend and Landrop. The latter performed better when I sent large files. However, neither of them does it automatically; you have to manually do it every time, which is okay since they don’t claim to be sync software.

Maybe syncthing fits your use case better?

https://syncthing.net/

Re: Magic Wormhole: get things from one computer to another, safely

#146
post #91

I've used this for years when passing large files between systems in weird network environments, it's almost always flawless. For some more exotic testing, I was able to run my own magic wormhole relay[1], which let me tweak some things for faster/more reliable huge file copies. I still hate how often Google Drive will fall over when you throw a 10s-of-GB file at it. [1] https://www.jeffgeerling.com/blog/2023/my-own-…

> For some more exotic testing, I was able to run my own magic wormhole relay[1], which let me tweak some things for faster/more reliable huge file copies. The lack of improvement in these tools is pretty devastating. There was a flurry of activity around PAKEs like 6 years ago now, but we're still missing: * reliable hole punching so you don't need a slow relay server * multiple simultaneous TCP streams (or a carefu…

20MB/sec is 160Mbps, so wormhole wasn't that far off the 1Gbps. Sure not maxing out but within a factor of 6.

Re: Magic Wormhole: get things from one computer to another, safely

#147
post #80

I find `syncthing` pretty useful for this kind of stuff. It's been around a long time and has a lot of different options for configuration and clients for every platform you could imagine, both UI based and command line. On every *nix platform I would just install the `syncthing` package and use it quite easily. I've experimented with some wormhole stuff before and looked at this package some, but there would be a lo…

I use Warp from Flathub, which I believe uses Magic Wormhole.

Yes, it does -- via the Rust implementation.

Re: Magic Wormhole: get things from one computer to another, safely

#148
post #91

Earlier quoted context omitted.

> For some more exotic testing, I was able to run my own magic wormhole relay[1], which let me tweak some things for faster/more reliable huge file copies. The lack of improvement in these tools is pretty devastating. There was a flurry of activity around PAKEs like 6 years ago now, but we're still missing: * reliable hole punching so you don't need a slow relay server * multiple simultaneous TCP streams (or a carefu…

I overall agree, but "reliable holpunching" is an oxymoron. Hole punching is by definition an exploit of undefined behavior, and I don't see the specs getting updated to support it. UPnP IGD was supposed to be that, but well...

Well, with v6 you're down from NAT-hole-punching to Firewall-hole-punching, which in principle should be as simple as arranging the IP:Port pairs of both ends via the setup channel, and then sending a "SYN" packet in both directions at once.

Then, trying to use e.g. TCP Prague (or, I guess, it's congestion control with UDP-native QUIC) as a scalable congestion controller, to take care of the throughout restrictions caused by high bandwidth delay product.

Re: Magic Wormhole: get things from one computer to another, safely

#149
post #73

Can it also generate a link so the client can just ckick on it instead of having to install things?

Alas no. It's a one-shot file-transfer tool, and we don't store a copy of the encrypted data or anything. So the sender must stay running until the receiver has finished downloading. If you're comfortable with relying on servers for your security, then I believe wormhole.app offers the clickable zero-install link that you described. Magic-wormhole can't use that approach, because our security model rules out reliance…

It's actually possible via https://winden.app which uses the wormhole protocol (compared to wormhole.app which is not affiliated with the matic wormhole project), once you upload a file there it will show you a link which is basically winden.app/#passphrase

As it uses the anchor tag # the passphrase doesn't even get sent to the server hosting the website, so it all happens client side.

Re: Magic Wormhole: get things from one computer to another, safely

#150
post #143

Earlier quoted context omitted.

Bare metal love

It's clearly a VPS, not bare metal.

I wonder what it would take for AWS to lower their outbound BW pricing to something that's not insane.

I'm beginning to think that the only feasible solution is changing the law.

Post reply on HN