Giter Site home page Giter Site logo

Comments (7)

anarcat avatar anarcat commented on May 15, 2024 1

i'm also concerned that croc does not use PAKE like Wormhole, which means passwords are much easier to guess than they should be.

from croc.

FrontMage avatar FrontMage commented on May 15, 2024

I think maybe it's because wormhole is not easy to install on windows?

from croc.

anarcat avatar anarcat commented on May 15, 2024

i am also curious to hear why croc exists, especially since the author seems to be aware of magic-wormhole. i think we should avoid fragmentation in this sector and make sure all wormhole-y clients share a common infrastructure or at least interoperate. maybe it would be possible to use the normal wormhole servers for this?

if not, then we'd need some sort of federation to have things make sense again: magic-wormhole/magic-wormhole#72

otherwise it's kind of a shame if we have yet another non-standard way of sharing files... again... :/

from croc.

schollz avatar schollz commented on May 15, 2024

@anarcat

i am also curious to hear why croc exists

croc mainly exists because I wanted a executable magic-wormhole-type program. The Python installation is not easy for someone who isn't very familiar with a computer.

i think we should avoid fragmentation in this sector and make sure all wormhole-y clients share a common infrastructure
it's kind of a shame if we have yet another non-standard way of sharing files

I disagree. I believe most services benefit from having alternatives, so we are not reliant on a single centralized source.

i'm also concerned that croc does not use PAKE like Wormhole, which means passwords are much easier to guess than they should be.

I don't think this is true. Here's why: In both wormhole and croc all you need to guess is the code phrase. In croc the relay stores a SHA256ed code phrase, whereas Wormhole stores a PAKE-encoded code phrase - and both of these are still basically impossible to determine unless you know the code phrase. In croc the code phrase is mnemonicoded random 4 bytes, which means you have a 1-in-4,294,967,296 chance of guessing the right phrase each time. Actually the default in wormhole is a 2 byte code so an attacker gets a 1-in-65,536 chance of success for guessing the code. So I could say the opposite - its easier to guess in wormhole using the defaults.

However, this is also not really that important because both croc and wormhole are meant for transferring immediately between two people. It would be very hard for an attacker to enumerate very many possibilities when the attack space in time is so small. So it doesn't make a huge difference in either case.

That being said, I'd still be open and happy to have PR request for implementing PAKE instead of the SHA256.

from croc.

anarcat avatar anarcat commented on May 15, 2024

from croc.

schollz avatar schollz commented on May 15, 2024

@anarcat Please combine this discussion and your other into a new issue for croc

from croc.

anarcat avatar anarcat commented on May 15, 2024

sure, done in #71

from croc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.