Feature Request: human readable passphrase instead of base64 tokens
For years now there have been many ways to turn random strings inro human readable words and I think it would be nice. For example in python: https://pypi.org/project/bip39/
I still think this is needed but added it in my gist anyway. ~~It's one way (so only used for quick verification, not to find a peer given only words) and~~ can be found there
~~It uses Trezor's python-mnemonic package~~
FYI I ended up creating my own pure python library that reversibly convert seeds to words. Here it is : https://github.com/thiswillbeyourgithub/HumanReadableSeed
I updated the prior gist to use it.
You can use it to turn the edgevpn token into words and back.
To check this :
[ $(uvx HumanReadableSeed@latest toseed "$(uvx HumanReadableSeed@latest toread $EDGEVPNTOKEN | tail -n 1)") == "$EDGEVPNTOKEN" ] && echo "The key was indeed reversibly converted"
An edgevpn token gets converted in about 240 words. But this can be reduced by storing only the values as we know the keys and their order.
Update: I now use my own script called wormrot.sh that uses magic-wormhole to send files using key derived from the current time with a preshared key. The above gist will not be maintained anymore.