HomePhabricator

[electrum] trezor: implement "seedless" mode (option during initialization)

Description

[electrum] trezor: implement "seedless" mode (option during initialization)

Summary:
Newer Trezor firmwares introduced a "seedless" mode.

This is an option during device initialisation. When enabled, the user will never be shown the seed words, and the device even stores this fact; i.e. the user will have "proof" the mnemonic was never shown. Apparently the main use case in mind is redundant multisig setups.

There are now multiple "advanced" options when initialising a Trezor, so I hid some of them behind an "expert" button.
Also did some clean-up.

This is a backport of electrum#5118
with trezor safe 3/5 support from https://github.com/spesmilo/electrum/commit/6172898a035e6ccbe5e8c85a34bc2f14acd106b3

This is a dependency for T3726

Test Plan:
with an unitialized device, create a new wallet, Standard Wallet, use hardware device, show expert mode, select "Enable seedless mode"

Tested with a Trezor Safe 3 device

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17553

Details

Provenance
PiRKAuthored on Fri, Jan 17, 09:45
PiRKPushed on Fri, Jan 17, 11:39
Reviewer
Restricted Project
Differential Revision
D17553: [electrum] trezor: implement "seedless" mode (option during initialization)
Parents
rABC0039c265e056: [electrum] Better trezor homescreen support
Branches
Unknown
Tags
Unknown