cryptoadvance / specter-diy

DIY airgapped hardware wallet that uses QR codes for communication with the host
MIT License
441 stars 73 forks source link

[Feature request] Create mnemonic using external entropy #109

Closed valerio-vaccaro closed 3 years ago

valerio-vaccaro commented 3 years ago

In order to create a more safe mnemonic specter-diy can use an external entropy source (like dice or playing cards) and create a mnemonic based on this data.

bitcoinheiro commented 3 years ago

It's possible already. Just not with a wizard. But you can add your own external entropy when creating the seed

stepansnigirev commented 3 years ago

In the "generate new key" menu you can click on any word and edit individual bits there. The idea is that you can XOR hardware entropy with your coin-generated entropy, but you can also ignore hardware entropy completely and enter the coin flips directly. See how it works here: https://twitter.com/StepanSnigirev/status/1318912100958412804?s=20

Another option is to pre-generate the recovery phrase by picking the words from bip39 dictionary and then fix it to be a valid bip39 mnemonic. In the "Enter recovery phrase" you can enter any recovery phrase and then the wallet will suggest you to fix the last word to make it valid. Demo: https://twitter.com/StepanSnigirev/status/1318127017892712448?s=20