mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-26 00:08:10 +00:00
trezorctl: add u2f-counter to recover
This commit is contained in:
parent
20bcc68926
commit
afc897d693
@ -142,6 +142,7 @@ def load(
|
||||
@click.option("-p", "--pin-protection", is_flag=True)
|
||||
@click.option("-r", "--passphrase-protection", is_flag=True)
|
||||
@click.option("-l", "--label")
|
||||
@click.option("-u", "--u2f-counter", default=None, type=int)
|
||||
@click.option(
|
||||
"-t", "--type", "rec_type", type=ChoiceType(RECOVERY_TYPE), default="scrambled"
|
||||
)
|
||||
@ -154,6 +155,7 @@ def recover(
|
||||
pin_protection,
|
||||
passphrase_protection,
|
||||
label,
|
||||
u2f_counter,
|
||||
rec_type,
|
||||
dry_run,
|
||||
):
|
||||
@ -170,6 +172,7 @@ def recover(
|
||||
passphrase_protection=passphrase_protection,
|
||||
pin_protection=pin_protection,
|
||||
label=label,
|
||||
u2f_counter=u2f_counter,
|
||||
language="en-US",
|
||||
input_callback=input_callback,
|
||||
type=rec_type,
|
||||
|
Loading…
Reference in New Issue
Block a user