mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
add u2f_counter field to LoadDevice, ResetDevice, RecoveryDevice
This commit is contained in:
parent
c638245e4d
commit
0b4b667ff1
@ -343,6 +343,7 @@ message LoadDevice {
|
|||||||
optional string language = 5 [default='english']; // device language
|
optional string language = 5 [default='english']; // device language
|
||||||
optional string label = 6; // device label
|
optional string label = 6; // device label
|
||||||
optional bool skip_checksum = 7; // do not test mnemonic for valid BIP-39 checksum
|
optional bool skip_checksum = 7; // do not test mnemonic for valid BIP-39 checksum
|
||||||
|
optional uint32 u2f_counter = 8; // U2F counter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -357,6 +358,7 @@ message ResetDevice {
|
|||||||
optional bool pin_protection = 4; // enable PIN protection
|
optional bool pin_protection = 4; // enable PIN protection
|
||||||
optional string language = 5 [default='english']; // device language
|
optional string language = 5 [default='english']; // device language
|
||||||
optional string label = 6; // device label
|
optional string label = 6; // device label
|
||||||
|
optional uint32 u2f_counter = 7; // U2F counter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -388,6 +390,7 @@ message RecoveryDevice {
|
|||||||
optional string language = 4 [default='english']; // device language
|
optional string language = 4 [default='english']; // device language
|
||||||
optional string label = 5; // device label
|
optional string label = 5; // device label
|
||||||
optional bool enforce_wordlist = 6; // enforce BIP-39 wordlist during the process
|
optional bool enforce_wordlist = 6; // enforce BIP-39 wordlist during the process
|
||||||
|
optional uint32 u2f_counter = 7; // U2F counter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user