Live data from Hacker News

Croc: Easily and securely send things from one computer to another

github.com

101–110 of 146 posts

Re: Croc: Easily and securely send things from one computer to another

#101
post #30

Earlier quoted context omitted.

These issues are pretty recent. I would greatly appreciate sponsorship to address issues faster: https://github.com/sponsors/schollz or just help with PRs.

Just wanted to say that Croc is one of the most reliable and straightforward file transfer tools I’ve ever used. It worked so well that I used it for Android (via Termux) to Windows transfers regularly. I only wish there was a way to use it on iOS but I imagine that’s challenging.

Thanks for the kindness :) I use it the same way actually! I don't use any Apple products so that's the major roadblock for me to develop against iOS...

Re: Croc: Easily and securely send things from one computer to another

#102

Tried it with a friend a few weeks ago and unfortunately it failed. It first began transferring the file, then for seemingly no reason I stopped receiving and then after waiting a bit got EOF and the file was not fully transferred. Seems like it is not that reliable in transferring files, or it has requirements, like open ports or so. But then why would it start and then stop trnasferring?

It would be great if you could make a GH issue explaining your use case. I try to reproduce bugs and could possibly find a solution.

Re: Croc: Easily and securely send things from one computer to another

#103
post #70
post #8

A more popular and, I think, carefully analyzed alternative, from which croc was inspired, is Magic Wormhole; a good Golang implementation that compiles down to a single binary is wormhole-william: https://github.com/psanford/wormhole-william/releases I believe croc has some features wormhole doesn't (and some anti-features, like being able to pick curves and hashes). But also just that it's worth knowing that Magic…

I think Wormhole William is great, also has a mobile app. But when I discovered croc, I switched to that, it has been very reliable. From the developer: AFAIK, croc is the only CLI file-transfer tool 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 tr…

Magic Wormhole:

* Allows any two computers, NAT'd or otherwise, to transfer data

* Invented the PAKE model that croc uses

* Is cross-platform and runs on Windows

* Allows multiple file transfers (directories)

* Does not require a server or port forwarding.

The thing croc does on this list that Magic Wormhole doesn't is resumption.

Re: Croc: Easily and securely send things from one computer to another

#104
post #48
post #46

Earlier quoted context omitted.

It's weird croc doesn't mention magic wormhole in their readme, if only to explain the differences with this well known tool, and why one would use croc rather than wormhole, which people are probably more used to using and that they can apt install, etc

Here is the answer from the project website "magic-wormhole has most everything (currently its missing capabilities for multiple file transfers and file resuming), but it requires installing lots of the Python ecosystem which is tricky for non-developers (and Windows users)." For the python part, I guess wormhole-williams works too then.

A wormhole user would just transfer a directory, rather than a globbed list of files, but croc's multiple file transfer thing is a difference between the two tools.

Re: Croc: Easily and securely send things from one computer to another

#105
post #70

Earlier quoted context omitted.

I think Wormhole William is great, also has a mobile app. But when I discovered croc, I switched to that, it has been very reliable. From the developer: AFAIK, croc is the only CLI file-transfer tool 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 tr…

Magic Wormhole: * Allows any two computers, NAT'd or otherwise, to transfer data * Invented the PAKE model that croc uses * Is cross-platform and runs on Windows * Allows multiple file transfers (directories) * Does not require a server or port forwarding. The thing croc does on this list that Magic Wormhole doesn't is resumption.

AFAIK it doesn't support authentication for private relays

Re: Croc: Easily and securely send things from one computer to another

#106
post #61

Earlier quoted context omitted.

Was just dissing KDE connect but it works well in most combinations. Also you can connect a USB cable.

USB cables involve about 5 steps and half my cables don't work because they were not built sturdy enough and got chomped by my office chair, standing desk, or something else. There should be a way to just right click and "send to phone"

Highly recommend KDE Connect, even if it seems like it's not relevant for you (the KDE bit) it's quite solid.

Re: Croc: Easily and securely send things from one computer to another

#109

Earlier quoted context omitted.

Magic Wormhole: * Allows any two computers, NAT'd or otherwise, to transfer data * Invented the PAKE model that croc uses * Is cross-platform and runs on Windows * Allows multiple file transfers (directories) * Does not require a server or port forwarding. The thing croc does on this list that Magic Wormhole doesn't is resumption.

AFAIK it doesn't support authentication for private relays

Why do I care? All of these designs --- croc is "a Magic Wormhole" --- are end-to-end secure.

Re: Croc: Easily and securely send things from one computer to another

#110
post #21

Earlier quoted context omitted.

Also if GitHub stars are anything to go off of, croc is several orders of magnitude more popular. Also croc is written in Go and compiles to a single binary, but there are some helper scripts in the repo for a few things. I really don't know why they said all that in their comment.

Emailing files is even more popular; does that make it more secure?

Did you mean to reply to me? I didn't say anything about being more popular -> being more secure. If you did want my input, my answer is: no. I was just commenting on the fact that the commenter said croc was less popular, when I cannot find any metric for that.
Post reply on HN