magic-wormhole icon indicating copy to clipboard operation
magic-wormhole copied to clipboard

Feature Request: Locale-Specific wordlists

Open epgfm opened this issue 7 years ago • 2 comments

If I'm attempting to set up a file transfer with someone who does not speak English, a command line option to specify the language to use for the random words in the password would be useful.

For instance if I'm sending a file to a Frenchmen I have on the phone:

% wormhole send --lang fr README.md
Sending 7924 byte file named 'README.md'
On the other computer, please run: wormhole receive
Wormhole code is: 7-jambon-rivière

epgfm avatar Jul 03 '17 04:07 epgfm

Excellent idea. #26 ought to provide the backend for this (as a place to store an identifier that says which wordlist we're using).

Do you know of any wordlists in French (or other languages) that were selected with the same kinds of criteria as the PGP wordlist that we use? That one was selected for phonetic distinguishability on a noisy channel. Let's use this ticket to gather potential wordlists to use with this feature. The list should have at least 256 words in it, and ideally there would be some research or some user-testing to make sure they're easy to transcribe (and not too naughty or insulting).

warner avatar Jul 09 '17 20:07 warner

Locale-dependent words may be a good default, but there should be still an easy way to use some other language. I'm not sure whether LANGUAGE=gr_GR wormhole ... is easy enough. Many people are at least bilingual, and may want to send files to someone who only speaks a language that is not their default locale.

But this is perhaps getting too complicated. Magic wormhole would have to ship many different word lists etc. Perhaps a good alternative would be a hex mode, activated with a switch?

Relaying 7-insurgent-blowtorch or 2-outfielder-dreadful over the phone to a speaker of, say, a Slavic language who does not know English is horribly inconvenient. Just imagine two random Americans trying to transmit 5-zakazana-poprzeczka. 7-f7-a0 or 2-84-e2 would be much better.

grothesque avatar Jan 22 '20 12:01 grothesque