Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: BIP39-style mnemonic output type #2

Open
shawnz opened this issue Oct 18, 2020 · 3 comments
Open

Request: BIP39-style mnemonic output type #2

shawnz opened this issue Oct 18, 2020 · 3 comments

Comments

@shawnz
Copy link

shawnz commented Oct 18, 2020

Hi there, thank you for the very useful tool.

I think it would be helpful if paperkey additionally supported a BIP39-style output format where the data would be encoded as words from a word list rather than hex characters. This might make transcription of the data easier.

@jonathancross
Copy link
Contributor

Note: BIP39 is for a 256bit seed (or smaller), so 4096bit RSA keys would need a LOT of words.

ECC or EdDSA keys would work great though. If a larger wordlist (like that of the EFF Diceware project) were used (12.9 bits per word), we would get a slightly shorter mnemonic than that one in BIP39.

@dmshaw
Copy link
Owner

dmshaw commented Jan 25, 2021

Yes, that was my concern about using a wordlist here: hex can be more difficult to type in, but at least fits on a reasonable number of sheets of paper :)

Note that you can always use a wordlist, even with the current version of paperkey, by using "--output-type raw". This is intended for piping to a program to handle different representations of data (QR code, wordlists, etc).

@jonathancross
Copy link
Contributor

jonathancross commented Jan 25, 2021

Yes, ~ 320 words might be a bit much. But it would still be a great option to have for the Elliptic Curve keys. A backup which relies on 2 different pieces of software is less reliable, and given that Paperkey is apparently pre-installed in TailsOS, it would be ideal if it just worked out of the box.

A few nice features for BIP39 which might help here as well:

  • uses extra bits as a checksum -- so errors can be detected.
  • Because the dictionary is fixed, users only need to type in the beginning of each word and it is auto completed.
  • spelling is nearly impossible to mess up.

Note: Using a mnemonic means we don't need to trust our printer, evil USB cables, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants