News for hackers. Stuff that matters.
Re:Magic Wormhole: Get things from one computer to another, ... by pmccarren on Monday May 24, 2021 @04:05PM (#27269066)
I'm a huge fan of croc[0]. Very similar to Magic Wormhole, but a bit more flexible and written in go.

Straight from the README:

> croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:

- allows any two computers to transfer data (using a relay)

- provides end-to-end encryption (using PAKE)

- enables easy cross-platform transfers (Windows, Linux, Mac)

- allows multiple file transfers

- allows resuming transfers that are interrupted

- local server or port-forwarding not needed

- ipv6-first with ipv4 fallback

- can use proxy, like tor

refs:

[0]https://github.com/schollz/croc

Re:Magic Wormhole: Get things from one computer to another, ... by throwaway67114 on Monday May 24, 2021 @04:42PM (#27269459)
croc probably shouldn't be used if you want security:

[1] https://news.ycombinator.com/item?id=27054885

[2] https://twitter.com/Sc00bzT/status/1396199915638992896

Magic Wormhole has a good implementation in Go, which is compatible with the original Python implementation (croc is not compatible with magic wormhole). It has windows binary and binaries for most of the popular OS.

https://github.com/psanford/wormhole-william

Binaries: https://github.com/psanford/wormhole-william/releases

There's GUI: https://github.com/Jacalz/wormhole-gui

Android app too: https://github.com/psanford/wormhole-william-mobile

Support for resuming transfers is planned I think.

Re:Magic Wormhole: Get things from one computer to another, ... by tobias2014 on Monday May 24, 2021 @06:54PM (#27270638)
In a sense it is good when people actually check opensource software for security vulnerabilities, and these get fixed, no? There would only be reason of concern if a project shows overall continued sloppiness, but I'm not aware of that for croc. Correct me if I'm wrong.
Re:Magic Wormhole: Get things from one computer to another, ... by exadeci on Tuesday May 25, 2021 @04:18AM (#27274283)
They seem to be sloppy: >The only thing I know about croc is that they misread a SPAKE2 description and it was very broken (https://github.com/schollz/pake/commit/04729caa1862a96ce3aef...) while also not knowing how long private keys should be
Re:Magic Wormhole: Get things from one computer to another, ... by WhatIsDukkha on Monday May 24, 2021 @04:11PM (#27269128)
Sadly croc lacks "wormhole ssh invite" which is about 90% of my use of wormhole.
Re:Magic Wormhole: Get things from one computer to another, ... by CobrastanJorji on Monday May 24, 2021 @04:17PM (#27269208)
That sounds super useful, but I don't see it mentioned in the documentation anywhere. I found it in the source code, though. Looks like it allows a remote user to add credentials to an authorized_keys file?
Re:Magic Wormhole: Get things from one computer to another, ... by WhatIsDukkha on Monday May 24, 2021 @04:40PM (#27269449)
From the docs -

""" wormhole ssh --help Usage: wormhole ssh [OPTIONS] COMMAND [ARGS]...

  Facilitate sending/receiving SSH public keys
Options: --help Show this message and exit.

Commands: accept Send your SSH public-key In response to a 'wormhole ssh invite'... invite Add a public-key to a ~/.ssh/authorized_keys file """

Re:Magic Wormhole: Get things from one computer to another, ... by psanford on Monday May 24, 2021 @04:38PM (#27269423)
Croc has a history of major security vulnerabilities.
Re:Magic Wormhole: Get things from one computer to another, ... by qrv3w on Monday May 24, 2021 @07:13PM (#27270802)
croc maintainer here: like mentioned from the throwaway account above - yes, this is true that there was a recent major vulnerability. [1] It was fixed within a week [2], so I guess it is also true that croc has a history of fixing vulnerabilities, rather quickly. I should hope this means that security is taken seriously.

Anyways, croc is pretty similar to wormhole except that it allows resuming files (which wormhole does not yet [3]) and has some peer discovery for local network transfers. I've been using croc everyday for over three years and I'm still very happy with it. But, you should totally use magic-wormhole if that floats your boat - its a great tool, along with psanford's Go version. That may help me actually as I think croc has too many users on the public relay and the cost of bandwidth is becoming too high to keep the public relay available after this year.

[1]: https://redrocket.club/posts/croc/

[2]: https://schollz.com/blog/croc9/

[3]: https://github.com/magic-wormhole/magic-wormhole/issues/88

Re:Magic Wormhole: Get things from one computer to another, ... by drakenot on Tuesday May 25, 2021 @01:16AM (#27272840)
I just wanted to thank you for creating and maintaining the croc infrastructure. I get a ton of value out of your utility.
Re:Magic Wormhole: Get things from one computer to another, ... by mycall on Tuesday May 25, 2021 @01:56AM (#27273227)
Is it hard to put the public relay onto some distributed network, like matrix or ipfs? That might scale the bandwidth issue for less cost.
Re:Magic Wormhole: Get things from one computer to another, ... by Encybe on Tuesday May 25, 2021 @07:45AM (#27275650)
same, using croc quite often, love it. I thought you didn't need donation anymore due to DigitalOcean hosting some relays for free?
Re:Magic Wormhole: Get things from one computer to another, ... by qrv3w on Tuesday May 25, 2021 @08:29AM (#27276018)
The free hosting from DigitalOcean is for one year and ends on 12/31 this year. After that the public relay will cost me over $70/month (or maybe more, as that's the current cost covered but it continues to grow). I cannot afford that so around that time I'll try to get donations.