mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
fix(common/protob): use proper field type for backup type on debuglink
This commit is contained in:
parent
1382246977
commit
215d35d870
@ -6,6 +6,7 @@ option java_package = "com.satoshilabs.trezor.lib.protobuf";
|
|||||||
option java_outer_classname = "TrezorMessageDebug";
|
option java_outer_classname = "TrezorMessageDebug";
|
||||||
|
|
||||||
import "messages-common.proto";
|
import "messages-common.proto";
|
||||||
|
import "messages-management.proto";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request: "Press" the button on the device
|
* Request: "Press" the button on the device
|
||||||
@ -78,14 +79,14 @@ message DebugLinkState {
|
|||||||
optional string pin = 2; // current PIN, blank if PIN is not set/enabled
|
optional string pin = 2; // current PIN, blank if PIN is not set/enabled
|
||||||
optional string matrix = 3; // current PIN matrix
|
optional string matrix = 3; // current PIN matrix
|
||||||
optional bytes mnemonic_secret = 4; // current mnemonic secret
|
optional bytes mnemonic_secret = 4; // current mnemonic secret
|
||||||
optional hw.trezor.messages.common.HDNodeType node = 5; // current BIP-32 node
|
optional common.HDNodeType node = 5; // current BIP-32 node
|
||||||
optional bool passphrase_protection = 6; // is node/mnemonic encrypted using passphrase?
|
optional bool passphrase_protection = 6; // is node/mnemonic encrypted using passphrase?
|
||||||
optional string reset_word = 7; // word on device display during ResetDevice workflow
|
optional string reset_word = 7; // word on device display during ResetDevice workflow
|
||||||
optional bytes reset_entropy = 8; // current entropy during ResetDevice workflow
|
optional bytes reset_entropy = 8; // current entropy during ResetDevice workflow
|
||||||
optional string recovery_fake_word = 9; // (fake) word on display during RecoveryDevice workflow
|
optional string recovery_fake_word = 9; // (fake) word on display during RecoveryDevice workflow
|
||||||
optional uint32 recovery_word_pos = 10; // index of mnemonic word the device is expecting during RecoveryDevice workflow
|
optional uint32 recovery_word_pos = 10; // index of mnemonic word the device is expecting during RecoveryDevice workflow
|
||||||
optional uint32 reset_word_pos = 11; // index of mnemonic word the device is expecting during ResetDevice workflow
|
optional uint32 reset_word_pos = 11; // index of mnemonic word the device is expecting during ResetDevice workflow
|
||||||
optional uint32 mnemonic_type = 12; // current mnemonic type (BIP-39/SLIP-39)
|
optional management.BackupType mnemonic_type = 12; // current mnemonic type (BIP-39/SLIP-39)
|
||||||
repeated string layout_lines = 13; // current layout text
|
repeated string layout_lines = 13; // current layout text
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user