Live data from Hacker News

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

magic-wormhole.readthedocs.io

41–50 of 107 posts

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

#41
post #14

This project made me learn about and attempt to implement the SPAKE2 protocol and HKDF as an exercise. It's quite fascinating. It lets you upgrade a short password to a long key, but requires trusting a server to rate limit attempts on brute-forcing that short password. It seems difficult to find a practical use case for it tho. Because it's only relevant when it is impractical to send a long key. But if you think fo…

That's all nice and dandy, but what about sending data the other way, from a phone to a desktop? Meticulously typing in long strings of text with no mistakes is not really a practical solution for the vast majority of users.

QR codes?

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

#42

Earlier quoted context omitted.

That's all nice and dandy, but what about sending data the other way, from a phone to a desktop? Meticulously typing in long strings of text with no mistakes is not really a practical solution for the vast majority of users.

QR codes?

Not all desktops have cameras.

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

#43
post #36
post #30

Earlier quoted context omitted.

Wormhole William is available for Android devices: https://play.google.com/store/apps/details?id=io.sanford.wor...

I need iOS and iPadOS. Although ideally there’d be a GUI that could work on all of the “mainstream” OSes, since most of my problem here is that I frequently need to move files between devices in different walled or unwalled gardens.

For desktop PCs, Rymdport (formerly wormhole-gui) may be suitable. It's cross-platform with pre-built binaries for FreeBSD, Linux, macOS and Windows on x86-64 and arm64:

https://github.com/Jacalz/rymdport

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

#45
post #14

This project made me learn about and attempt to implement the SPAKE2 protocol and HKDF as an exercise. It's quite fascinating. It lets you upgrade a short password to a long key, but requires trusting a server to rate limit attempts on brute-forcing that short password. It seems difficult to find a practical use case for it tho. Because it's only relevant when it is impractical to send a long key. But if you think fo…

That's all nice and dandy, but what about sending data the other way, from a phone to a desktop? Meticulously typing in long strings of text with no mistakes is not really a practical solution for the vast majority of users.

[deleted]

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

#46

Earlier quoted context omitted.

It uses a rendezvous server to handle connecting.

Googled. > Because of firewall network address translation (NAT) issues, rendezvous protocols generally require that there be at least one unblocked and un-NATed server that lets the peers locate each other and initiate concurrent packets at each other. So probably cant help with a VPC unless you pierce a hole for it. I guess this makes sense, since by design this shouldn't be possible.

The point of the intermediate server is so that you can NAT hole punch, otherwise it has little point (except maybe as a relay, which is a bad solution).

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

#48

Earlier quoted context omitted.

That's all nice and dandy, but what about sending data the other way, from a phone to a desktop? Meticulously typing in long strings of text with no mistakes is not really a practical solution for the vast majority of users.

QR codes?

The vast majority of desktops do not have a camera.

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

#49
Recently learnt about tailscale funnel, and I love it, I would use for everything.

tailscale funnel --set-path

(The path is needed because there are lots of bots who scan tailscale hostnames).

This works if the sender is tech savvy (and a tailscale user) but not in the other direction.

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

#50

Earlier quoted context omitted.

QR codes?

The vast majority of desktops do not have a camera.

You can still generate the QR code in the desktop and scan it with your phone camera. The device receiving the file does not have to be the device that scans the code.
Post reply on HN