mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
Added fields to LoadDevice/ResetDevice
This commit is contained in:
parent
0e0e9268dc
commit
644d75caff
@ -197,6 +197,8 @@ message LoadDevice {
|
|||||||
optional HDNodeType node = 2;
|
optional HDNodeType node = 2;
|
||||||
optional bytes pin = 3; // Set PIN protection for important actions
|
optional bytes pin = 3; // Set PIN protection for important actions
|
||||||
optional bool passphrase_protection = 4;
|
optional bool passphrase_protection = 4;
|
||||||
|
optional bytes language = 5 [default='english'];
|
||||||
|
optional bytes label = 6 [(binary) = true];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Request device to do full-reset, to generate new seed
|
// Request device to do full-reset, to generate new seed
|
||||||
@ -211,6 +213,11 @@ message ResetDevice {
|
|||||||
optional bool display_random = 1; // If set, displays entropy generated by the device used
|
optional bool display_random = 1; // If set, displays entropy generated by the device used
|
||||||
// for generating the seed *before* asking
|
// for generating the seed *before* asking
|
||||||
// for additional entropy from computer
|
// for additional entropy from computer
|
||||||
|
optional uint32 strength = 2 [default=128]; // Strength of seed in bits
|
||||||
|
optional bool passphrase_protection = 3;
|
||||||
|
optional bool pin_protection = 4;
|
||||||
|
optional bytes language = 5 [default='english'];
|
||||||
|
optional bytes label = 6 [(binary) = true];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Asks for additional Entropy from host computer
|
// Asks for additional Entropy from host computer
|
||||||
|
Loading…
Reference in New Issue
Block a user