LeastAuthority / destiny

Destiny – Cross-platform Magic Wormhole graphical client
MIT License
236 stars 13 forks source link

Add ability to customise the length of the sending code #257

Open aneverhopefulhelper opened 4 months ago

aneverhopefulhelper commented 4 months ago

Currently Destiny only allows for a 3 part code whereas the underlaying wormhole allows for much longer codes and thus customisation of their complexity making the sending process more secure (as it's harder to just guess longer codes).

Would really appreciate this feature being added. Thank you!

meejah commented 4 months ago

The underlying protocol actually only cares about "mailbox number" versus "the rest", it doesn't have to be in "parts" or use the same wordlist at all.

That is 22-foo-bar-baz-quux is just as valid as 17-somePhraseMadeUpByTheHumans. So what Destiny should probably do is allow for arbitrary text after the first - delineating the mailbox number from the password

It's kind of buried down at the bottom of https://winden.app/faq but you can use the Least Authority servers with the Python CLI tool (or any of the other ecosystem tools that you prefer) by using the corresponding Mailbox and Transit Relay values.

That is, all the tools can typically interoperate (but both sides need to be using the same Mailbox server).

aneverhopefulhelper commented 4 months ago

That makes sense, thank you for explaining how Wormhole/Destiny works. I wasn't aware of all that before! 🙂

Also, yeah, I agree, that would be a good way of doing it!