cryptoadvance / specter-diy

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

Allow to store mnemonic phrase (#Reckless mode) #10

Closed stepansnigirev closed 4 years ago

stepansnigirev commented 4 years ago

Requires implementation of the pin screen in the gui module. Requires implementation of the secure key storage in keystore module.

Mnemonic should be encrypted with a unique key (hardcoded in firmware using define in specter_config.h), HMACed with PIN code. Identificator of the mnemonic could be hash160(mnemonic)[0:4] - like a fingerprint, but for mnemonic. This id can be used as a folder name for all relevant information for this mnemonic / wallet.

stepansnigirev commented 4 years ago

Partially implemented in https://github.com/cryptoadvance/specter-diy/pull/15 One mnemonic, no PIN, no encryption.

stepansnigirev commented 4 years ago

Implemented with https://github.com/cryptoadvance/specter-diy/pull/26 and https://github.com/cryptoadvance/specter-diy/pull/28 Thanks to @gorazdko !