|
|
|
@ -2455,6 +2455,8 @@ pub mod features {
|
|
|
|
|
Capability_Solana = 18,
|
|
|
|
|
// @@protoc_insertion_point(enum_value:hw.trezor.messages.management.Features.Capability.Capability_Translations)
|
|
|
|
|
Capability_Translations = 19,
|
|
|
|
|
// @@protoc_insertion_point(enum_value:hw.trezor.messages.management.Features.Capability.Capability_Brightness)
|
|
|
|
|
Capability_Brightness = 20,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl ::protobuf::Enum for Capability {
|
|
|
|
@ -2485,6 +2487,7 @@ pub mod features {
|
|
|
|
|
17 => ::std::option::Option::Some(Capability::Capability_PassphraseEntry),
|
|
|
|
|
18 => ::std::option::Option::Some(Capability::Capability_Solana),
|
|
|
|
|
19 => ::std::option::Option::Some(Capability::Capability_Translations),
|
|
|
|
|
20 => ::std::option::Option::Some(Capability::Capability_Brightness),
|
|
|
|
|
_ => ::std::option::Option::None
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -2510,6 +2513,7 @@ pub mod features {
|
|
|
|
|
"Capability_PassphraseEntry" => ::std::option::Option::Some(Capability::Capability_PassphraseEntry),
|
|
|
|
|
"Capability_Solana" => ::std::option::Option::Some(Capability::Capability_Solana),
|
|
|
|
|
"Capability_Translations" => ::std::option::Option::Some(Capability::Capability_Translations),
|
|
|
|
|
"Capability_Brightness" => ::std::option::Option::Some(Capability::Capability_Brightness),
|
|
|
|
|
_ => ::std::option::Option::None
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -2534,6 +2538,7 @@ pub mod features {
|
|
|
|
|
Capability::Capability_PassphraseEntry,
|
|
|
|
|
Capability::Capability_Solana,
|
|
|
|
|
Capability::Capability_Translations,
|
|
|
|
|
Capability::Capability_Brightness,
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2564,6 +2569,7 @@ pub mod features {
|
|
|
|
|
Capability::Capability_PassphraseEntry => 16,
|
|
|
|
|
Capability::Capability_Solana => 17,
|
|
|
|
|
Capability::Capability_Translations => 18,
|
|
|
|
|
Capability::Capability_Brightness => 19,
|
|
|
|
|
};
|
|
|
|
|
Self::enum_descriptor().value_by_index(index)
|
|
|
|
|
}
|
|
|
|
@ -2956,6 +2962,8 @@ pub struct ApplySettings {
|
|
|
|
|
pub experimental_features: ::std::option::Option<bool>,
|
|
|
|
|
// @@protoc_insertion_point(field:hw.trezor.messages.management.ApplySettings.hide_passphrase_from_host)
|
|
|
|
|
pub hide_passphrase_from_host: ::std::option::Option<bool>,
|
|
|
|
|
// @@protoc_insertion_point(field:hw.trezor.messages.management.ApplySettings.brightness)
|
|
|
|
|
pub brightness: ::std::option::Option<u32>,
|
|
|
|
|
// special fields
|
|
|
|
|
// @@protoc_insertion_point(special_field:hw.trezor.messages.management.ApplySettings.special_fields)
|
|
|
|
|
pub special_fields: ::protobuf::SpecialFields,
|
|
|
|
@ -3235,8 +3243,27 @@ impl ApplySettings {
|
|
|
|
|
self.hide_passphrase_from_host = ::std::option::Option::Some(v);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional uint32 brightness = 12;
|
|
|
|
|
|
|
|
|
|
pub fn brightness(&self) -> u32 {
|
|
|
|
|
self.brightness.unwrap_or(0)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn clear_brightness(&mut self) {
|
|
|
|
|
self.brightness = ::std::option::Option::None;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn has_brightness(&self) -> bool {
|
|
|
|
|
self.brightness.is_some()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Param is passed by value, moved
|
|
|
|
|
pub fn set_brightness(&mut self, v: u32) {
|
|
|
|
|
self.brightness = ::std::option::Option::Some(v);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
|
|
|
|
|
let mut fields = ::std::vec::Vec::with_capacity(11);
|
|
|
|
|
let mut fields = ::std::vec::Vec::with_capacity(12);
|
|
|
|
|
let mut oneofs = ::std::vec::Vec::with_capacity(0);
|
|
|
|
|
fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
|
|
|
|
|
"language",
|
|
|
|
@ -3293,6 +3320,11 @@ impl ApplySettings {
|
|
|
|
|
|m: &ApplySettings| { &m.hide_passphrase_from_host },
|
|
|
|
|
|m: &mut ApplySettings| { &mut m.hide_passphrase_from_host },
|
|
|
|
|
));
|
|
|
|
|
fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
|
|
|
|
|
"brightness",
|
|
|
|
|
|m: &ApplySettings| { &m.brightness },
|
|
|
|
|
|m: &mut ApplySettings| { &mut m.brightness },
|
|
|
|
|
));
|
|
|
|
|
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<ApplySettings>(
|
|
|
|
|
"ApplySettings",
|
|
|
|
|
fields,
|
|
|
|
@ -3344,6 +3376,9 @@ impl ::protobuf::Message for ApplySettings {
|
|
|
|
|
88 => {
|
|
|
|
|
self.hide_passphrase_from_host = ::std::option::Option::Some(is.read_bool()?);
|
|
|
|
|
},
|
|
|
|
|
96 => {
|
|
|
|
|
self.brightness = ::std::option::Option::Some(is.read_uint32()?);
|
|
|
|
|
},
|
|
|
|
|
tag => {
|
|
|
|
|
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
|
|
|
|
},
|
|
|
|
@ -3389,6 +3424,9 @@ impl ::protobuf::Message for ApplySettings {
|
|
|
|
|
if let Some(v) = self.hide_passphrase_from_host {
|
|
|
|
|
my_size += 1 + 1;
|
|
|
|
|
}
|
|
|
|
|
if let Some(v) = self.brightness {
|
|
|
|
|
my_size += ::protobuf::rt::uint32_size(12, v);
|
|
|
|
|
}
|
|
|
|
|
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
|
|
|
|
self.special_fields.cached_size().set(my_size as u32);
|
|
|
|
|
my_size
|
|
|
|
@ -3428,6 +3466,9 @@ impl ::protobuf::Message for ApplySettings {
|
|
|
|
|
if let Some(v) = self.hide_passphrase_from_host {
|
|
|
|
|
os.write_bool(11, v)?;
|
|
|
|
|
}
|
|
|
|
|
if let Some(v) = self.brightness {
|
|
|
|
|
os.write_uint32(12, v)?;
|
|
|
|
|
}
|
|
|
|
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
|
|
|
|
::std::result::Result::Ok(())
|
|
|
|
|
}
|
|
|
|
@ -3456,6 +3497,7 @@ impl ::protobuf::Message for ApplySettings {
|
|
|
|
|
self.safety_checks = ::std::option::Option::None;
|
|
|
|
|
self.experimental_features = ::std::option::Option::None;
|
|
|
|
|
self.hide_passphrase_from_host = ::std::option::Option::None;
|
|
|
|
|
self.brightness = ::std::option::Option::None;
|
|
|
|
|
self.special_fields.clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -3472,6 +3514,7 @@ impl ::protobuf::Message for ApplySettings {
|
|
|
|
|
safety_checks: ::std::option::Option::None,
|
|
|
|
|
experimental_features: ::std::option::Option::None,
|
|
|
|
|
hide_passphrase_from_host: ::std::option::Option::None,
|
|
|
|
|
brightness: ::std::option::Option::None,
|
|
|
|
|
special_fields: ::protobuf::SpecialFields::new(),
|
|
|
|
|
};
|
|
|
|
|
&instance
|
|
|
|
@ -10311,7 +10354,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
|
|
\x0emessages.proto\"\x80\x01\n\nInitialize\x12\x1d\n\nsession_id\x18\x01\
|
|
|
|
|
\x20\x01(\x0cR\tsessionId\x12,\n\x10_skip_passphrase\x18\x02\x20\x01(\
|
|
|
|
|
\x08R\x0eSkipPassphraseB\x02\x18\x01\x12%\n\x0ederive_cardano\x18\x03\
|
|
|
|
|
\x20\x01(\x08R\rderiveCardano\"\r\n\x0bGetFeatures\"\xd3\x13\n\x08Featur\
|
|
|
|
|
\x20\x01(\x08R\rderiveCardano\"\r\n\x0bGetFeatures\"\xf4\x13\n\x08Featur\
|
|
|
|
|
es\x12\x16\n\x06vendor\x18\x01\x20\x01(\tR\x06vendor\x12#\n\rmajor_versi\
|
|
|
|
|
on\x18\x02\x20\x02(\rR\x0cmajorVersion\x12#\n\rminor_version\x18\x03\x20\
|
|
|
|
|
\x02(\rR\x0cminorVersion\x12#\n\rpatch_version\x18\x04\x20\x02(\rR\x0cpa\
|
|
|
|
@ -10355,7 +10398,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
|
|
n_width\x18/\x20\x01(\rR\x0fhomescreenWidth\x12+\n\x11homescreen_height\
|
|
|
|
|
\x180\x20\x01(\rR\x10homescreenHeight\x12+\n\x11bootloader_locked\x181\
|
|
|
|
|
\x20\x01(\x08R\x10bootloaderLocked\x12>\n\x18language_version_matches\
|
|
|
|
|
\x182\x20\x01(\x08:\x04trueR\x16languageVersionMatches\"\x84\x04\n\nCapa\
|
|
|
|
|
\x182\x20\x01(\x08:\x04trueR\x16languageVersionMatches\"\xa5\x04\n\nCapa\
|
|
|
|
|
bility\x12\x1c\n\x12Capability_Bitcoin\x10\x01\x1a\x04\x80\xa6\x1d\x01\
|
|
|
|
|
\x12\x1b\n\x17Capability_Bitcoin_like\x10\x02\x12\x16\n\x12Capability_Bi\
|
|
|
|
|
nance\x10\x03\x12\x16\n\x12Capability_Cardano\x10\x04\x12\x1b\n\x11Capab\
|
|
|
|
@ -10368,10 +10411,11 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
|
|
r\x10\x0f\x1a\x04\x80\xa6\x1d\x01\x12!\n\x17Capability_ShamirGroups\x10\
|
|
|
|
|
\x10\x1a\x04\x80\xa6\x1d\x01\x12$\n\x1aCapability_PassphraseEntry\x10\
|
|
|
|
|
\x11\x1a\x04\x80\xa6\x1d\x01\x12\x15\n\x11Capability_Solana\x10\x12\x12!\
|
|
|
|
|
\n\x17Capability_Translations\x10\x13\x1a\x04\x80\xa6\x1d\x01\x1a\x04\
|
|
|
|
|
\xc8\xf3\x18\x01\"\x0c\n\nLockDevice\"&\n\x07SetBusy\x12\x1b\n\texpiry_m\
|
|
|
|
|
s\x18\x01\x20\x01(\rR\x08expiryMs\"\x0c\n\nEndSession\"\x9b\x04\n\rApply\
|
|
|
|
|
Settings\x12\x1e\n\x08language\x18\x01\x20\x01(\tR\x08languageB\x02\x18\
|
|
|
|
|
\n\x17Capability_Translations\x10\x13\x1a\x04\x80\xa6\x1d\x01\x12\x1f\n\
|
|
|
|
|
\x15Capability_Brightness\x10\x14\x1a\x04\x80\xa6\x1d\x01\x1a\x04\xc8\
|
|
|
|
|
\xf3\x18\x01\"\x0c\n\nLockDevice\"&\n\x07SetBusy\x12\x1b\n\texpiry_ms\
|
|
|
|
|
\x18\x01\x20\x01(\rR\x08expiryMs\"\x0c\n\nEndSession\"\xbb\x04\n\rApplyS\
|
|
|
|
|
ettings\x12\x1e\n\x08language\x18\x01\x20\x01(\tR\x08languageB\x02\x18\
|
|
|
|
|
\x01\x12\x14\n\x05label\x18\x02\x20\x01(\tR\x05label\x12%\n\x0euse_passp\
|
|
|
|
|
hrase\x18\x03\x20\x01(\x08R\rusePassphrase\x12\x1e\n\nhomescreen\x18\x04\
|
|
|
|
|
\x20\x01(\x0cR\nhomescreen\x120\n\x12_passphrase_source\x18\x05\x20\x01(\
|
|
|
|
@ -10382,83 +10426,84 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
|
|
|
|
\x18\t\x20\x01(\x0e2/.hw.trezor.messages.management.SafetyCheckLevelR\
|
|
|
|
|
\x0csafetyChecks\x123\n\x15experimental_features\x18\n\x20\x01(\x08R\x14\
|
|
|
|
|
experimentalFeatures\x129\n\x19hide_passphrase_from_host\x18\x0b\x20\x01\
|
|
|
|
|
(\x08R\x16hidePassphraseFromHost\"T\n\x0eChangeLanguage\x12\x1f\n\x0bdat\
|
|
|
|
|
a_length\x18\x01\x20\x02(\rR\ndataLength\x12!\n\x0cshow_display\x18\x02\
|
|
|
|
|
\x20\x01(\x08R\x0bshowDisplay\"Z\n\x16TranslationDataRequest\x12\x1f\n\
|
|
|
|
|
\x0bdata_length\x18\x01\x20\x02(\rR\ndataLength\x12\x1f\n\x0bdata_offset\
|
|
|
|
|
\x18\x02\x20\x02(\rR\ndataOffset\"3\n\x12TranslationDataAck\x12\x1d\n\nd\
|
|
|
|
|
ata_chunk\x18\x01\x20\x02(\x0cR\tdataChunk\"\"\n\nApplyFlags\x12\x14\n\
|
|
|
|
|
\x05flags\x18\x01\x20\x02(\rR\x05flags\"#\n\tChangePin\x12\x16\n\x06remo\
|
|
|
|
|
ve\x18\x01\x20\x01(\x08R\x06remove\"(\n\x0eChangeWipeCode\x12\x16\n\x06r\
|
|
|
|
|
emove\x18\x01\x20\x01(\x08R\x06remove\"\xaa\x01\n\tSdProtect\x12]\n\tope\
|
|
|
|
|
ration\x18\x01\x20\x02(\x0e2?.hw.trezor.messages.management.SdProtect.Sd\
|
|
|
|
|
ProtectOperationTypeR\toperation\">\n\x16SdProtectOperationType\x12\x0b\
|
|
|
|
|
\n\x07DISABLE\x10\0\x12\n\n\x06ENABLE\x10\x01\x12\x0b\n\x07REFRESH\x10\
|
|
|
|
|
\x02\"O\n\x04Ping\x12\x1a\n\x07message\x18\x01\x20\x01(\t:\0R\x07message\
|
|
|
|
|
\x12+\n\x11button_protection\x18\x02\x20\x01(\x08R\x10buttonProtection\"\
|
|
|
|
|
\x08\n\x06Cancel\"\x20\n\nGetEntropy\x12\x12\n\x04size\x18\x01\x20\x02(\
|
|
|
|
|
\rR\x04size\"#\n\x07Entropy\x12\x18\n\x07entropy\x18\x01\x20\x02(\x0cR\
|
|
|
|
|
\x07entropy\"/\n\x0fGetFirmwareHash\x12\x1c\n\tchallenge\x18\x01\x20\x01\
|
|
|
|
|
(\x0cR\tchallenge\"\"\n\x0cFirmwareHash\x12\x12\n\x04hash\x18\x01\x20\
|
|
|
|
|
\x02(\x0cR\x04hash\"2\n\x12AuthenticateDevice\x12\x1c\n\tchallenge\x18\
|
|
|
|
|
\x01\x20\x02(\x0cR\tchallenge\"U\n\x11AuthenticityProof\x12\"\n\x0ccerti\
|
|
|
|
|
ficates\x18\x01\x20\x03(\x0cR\x0ccertificates\x12\x1c\n\tsignature\x18\
|
|
|
|
|
\x02\x20\x02(\x0cR\tsignature\"\x0c\n\nWipeDevice\"\xad\x02\n\nLoadDevic\
|
|
|
|
|
e\x12\x1c\n\tmnemonics\x18\x01\x20\x03(\tR\tmnemonics\x12\x10\n\x03pin\
|
|
|
|
|
\x18\x03\x20\x01(\tR\x03pin\x123\n\x15passphrase_protection\x18\x04\x20\
|
|
|
|
|
\x01(\x08R\x14passphraseProtection\x12\x1e\n\x08language\x18\x05\x20\x01\
|
|
|
|
|
(\tR\x08languageB\x02\x18\x01\x12\x14\n\x05label\x18\x06\x20\x01(\tR\x05\
|
|
|
|
|
label\x12#\n\rskip_checksum\x18\x07\x20\x01(\x08R\x0cskipChecksum\x12\
|
|
|
|
|
\x1f\n\x0bu2f_counter\x18\x08\x20\x01(\rR\nu2fCounter\x12!\n\x0cneeds_ba\
|
|
|
|
|
ckup\x18\t\x20\x01(\x08R\x0bneedsBackup\x12\x1b\n\tno_backup\x18\n\x20\
|
|
|
|
|
\x01(\x08R\x08noBackup\"\x99\x03\n\x0bResetDevice\x12%\n\x0edisplay_rand\
|
|
|
|
|
om\x18\x01\x20\x01(\x08R\rdisplayRandom\x12\x1f\n\x08strength\x18\x02\
|
|
|
|
|
\x20\x01(\r:\x03256R\x08strength\x123\n\x15passphrase_protection\x18\x03\
|
|
|
|
|
\x20\x01(\x08R\x14passphraseProtection\x12%\n\x0epin_protection\x18\x04\
|
|
|
|
|
\x20\x01(\x08R\rpinProtection\x12\x1e\n\x08language\x18\x05\x20\x01(\tR\
|
|
|
|
|
\x08languageB\x02\x18\x01\x12\x14\n\x05label\x18\x06\x20\x01(\tR\x05labe\
|
|
|
|
|
l\x12\x1f\n\x0bu2f_counter\x18\x07\x20\x01(\rR\nu2fCounter\x12\x1f\n\x0b\
|
|
|
|
|
skip_backup\x18\x08\x20\x01(\x08R\nskipBackup\x12\x1b\n\tno_backup\x18\t\
|
|
|
|
|
\x20\x01(\x08R\x08noBackup\x12Q\n\x0bbackup_type\x18\n\x20\x01(\x0e2).hw\
|
|
|
|
|
.trezor.messages.management.BackupType:\x05Bip39R\nbackupType\"\x0e\n\
|
|
|
|
|
\x0cBackupDevice\"\x10\n\x0eEntropyRequest\"&\n\nEntropyAck\x12\x18\n\
|
|
|
|
|
\x07entropy\x18\x01\x20\x02(\x0cR\x07entropy\"\xd8\x03\n\x0eRecoveryDevi\
|
|
|
|
|
ce\x12\x1d\n\nword_count\x18\x01\x20\x01(\rR\twordCount\x123\n\x15passph\
|
|
|
|
|
rase_protection\x18\x02\x20\x01(\x08R\x14passphraseProtection\x12%\n\x0e\
|
|
|
|
|
pin_protection\x18\x03\x20\x01(\x08R\rpinProtection\x12\x1e\n\x08languag\
|
|
|
|
|
e\x18\x04\x20\x01(\tR\x08languageB\x02\x18\x01\x12\x14\n\x05label\x18\
|
|
|
|
|
\x05\x20\x01(\tR\x05label\x12)\n\x10enforce_wordlist\x18\x06\x20\x01(\
|
|
|
|
|
\x08R\x0fenforceWordlist\x12T\n\x04type\x18\x08\x20\x01(\x0e2@.hw.trezor\
|
|
|
|
|
.messages.management.RecoveryDevice.RecoveryDeviceTypeR\x04type\x12\x1f\
|
|
|
|
|
\n\x0bu2f_counter\x18\t\x20\x01(\rR\nu2fCounter\x12\x17\n\x07dry_run\x18\
|
|
|
|
|
\n\x20\x01(\x08R\x06dryRun\"Z\n\x12RecoveryDeviceType\x12%\n!RecoveryDev\
|
|
|
|
|
iceType_ScrambledWords\x10\0\x12\x1d\n\x19RecoveryDeviceType_Matrix\x10\
|
|
|
|
|
\x01\"\xc5\x01\n\x0bWordRequest\x12N\n\x04type\x18\x01\x20\x02(\x0e2:.hw\
|
|
|
|
|
.trezor.messages.management.WordRequest.WordRequestTypeR\x04type\"f\n\
|
|
|
|
|
\x0fWordRequestType\x12\x19\n\x15WordRequestType_Plain\x10\0\x12\x1b\n\
|
|
|
|
|
\x17WordRequestType_Matrix9\x10\x01\x12\x1b\n\x17WordRequestType_Matrix6\
|
|
|
|
|
\x10\x02\"\x1d\n\x07WordAck\x12\x12\n\x04word\x18\x01\x20\x02(\tR\x04wor\
|
|
|
|
|
d\"0\n\rSetU2FCounter\x12\x1f\n\x0bu2f_counter\x18\x01\x20\x02(\rR\nu2fC\
|
|
|
|
|
ounter\"\x13\n\x11GetNextU2FCounter\"1\n\x0eNextU2FCounter\x12\x1f\n\x0b\
|
|
|
|
|
u2f_counter\x18\x01\x20\x02(\rR\nu2fCounter\"\x11\n\x0fDoPreauthorized\"\
|
|
|
|
|
\x16\n\x14PreauthorizedRequest\"\x15\n\x13CancelAuthorization\"\x9a\x02\
|
|
|
|
|
\n\x12RebootToBootloader\x12o\n\x0cboot_command\x18\x01\x20\x01(\x0e2=.h\
|
|
|
|
|
w.trezor.messages.management.RebootToBootloader.BootCommand:\rSTOP_AND_W\
|
|
|
|
|
AITR\x0bbootCommand\x12'\n\x0ffirmware_header\x18\x02\x20\x01(\x0cR\x0ef\
|
|
|
|
|
irmwareHeader\x123\n\x14language_data_length\x18\x03\x20\x01(\r:\x010R\
|
|
|
|
|
\x12languageDataLength\"5\n\x0bBootCommand\x12\x11\n\rSTOP_AND_WAIT\x10\
|
|
|
|
|
\0\x12\x13\n\x0fINSTALL_UPGRADE\x10\x01\"\x10\n\x08GetNonce:\x04\x88\xb2\
|
|
|
|
|
\x19\x01\"#\n\x05Nonce\x12\x14\n\x05nonce\x18\x01\x20\x02(\x0cR\x05nonce\
|
|
|
|
|
:\x04\x88\xb2\x19\x01\";\n\nUnlockPath\x12\x1b\n\taddress_n\x18\x01\x20\
|
|
|
|
|
\x03(\rR\x08addressN\x12\x10\n\x03mac\x18\x02\x20\x01(\x0cR\x03mac\"'\n\
|
|
|
|
|
\x13UnlockedPathRequest\x12\x10\n\x03mac\x18\x01\x20\x01(\x0cR\x03mac\"\
|
|
|
|
|
\x14\n\x12ShowDeviceTutorial\"\x12\n\x10UnlockBootloader*>\n\nBackupType\
|
|
|
|
|
\x12\t\n\x05Bip39\x10\0\x12\x10\n\x0cSlip39_Basic\x10\x01\x12\x13\n\x0fS\
|
|
|
|
|
lip39_Advanced\x10\x02*G\n\x10SafetyCheckLevel\x12\n\n\x06Strict\x10\0\
|
|
|
|
|
\x12\x10\n\x0cPromptAlways\x10\x01\x12\x15\n\x11PromptTemporarily\x10\
|
|
|
|
|
\x02*0\n\x10HomescreenFormat\x12\x08\n\x04Toif\x10\x01\x12\x08\n\x04Jpeg\
|
|
|
|
|
\x10\x02\x12\x08\n\x04ToiG\x10\x03BB\n#com.satoshilabs.trezor.lib.protob\
|
|
|
|
|
ufB\x17TrezorMessageManagement\x80\xa6\x1d\x01\
|
|
|
|
|
(\x08R\x16hidePassphraseFromHost\x12\x1e\n\nbrightness\x18\x0c\x20\x01(\
|
|
|
|
|
\rR\nbrightness\"T\n\x0eChangeLanguage\x12\x1f\n\x0bdata_length\x18\x01\
|
|
|
|
|
\x20\x02(\rR\ndataLength\x12!\n\x0cshow_display\x18\x02\x20\x01(\x08R\
|
|
|
|
|
\x0bshowDisplay\"Z\n\x16TranslationDataRequest\x12\x1f\n\x0bdata_length\
|
|
|
|
|
\x18\x01\x20\x02(\rR\ndataLength\x12\x1f\n\x0bdata_offset\x18\x02\x20\
|
|
|
|
|
\x02(\rR\ndataOffset\"3\n\x12TranslationDataAck\x12\x1d\n\ndata_chunk\
|
|
|
|
|
\x18\x01\x20\x02(\x0cR\tdataChunk\"\"\n\nApplyFlags\x12\x14\n\x05flags\
|
|
|
|
|
\x18\x01\x20\x02(\rR\x05flags\"#\n\tChangePin\x12\x16\n\x06remove\x18\
|
|
|
|
|
\x01\x20\x01(\x08R\x06remove\"(\n\x0eChangeWipeCode\x12\x16\n\x06remove\
|
|
|
|
|
\x18\x01\x20\x01(\x08R\x06remove\"\xaa\x01\n\tSdProtect\x12]\n\toperatio\
|
|
|
|
|
n\x18\x01\x20\x02(\x0e2?.hw.trezor.messages.management.SdProtect.SdProte\
|
|
|
|
|
ctOperationTypeR\toperation\">\n\x16SdProtectOperationType\x12\x0b\n\x07\
|
|
|
|
|
DISABLE\x10\0\x12\n\n\x06ENABLE\x10\x01\x12\x0b\n\x07REFRESH\x10\x02\"O\
|
|
|
|
|
\n\x04Ping\x12\x1a\n\x07message\x18\x01\x20\x01(\t:\0R\x07message\x12+\n\
|
|
|
|
|
\x11button_protection\x18\x02\x20\x01(\x08R\x10buttonProtection\"\x08\n\
|
|
|
|
|
\x06Cancel\"\x20\n\nGetEntropy\x12\x12\n\x04size\x18\x01\x20\x02(\rR\x04\
|
|
|
|
|
size\"#\n\x07Entropy\x12\x18\n\x07entropy\x18\x01\x20\x02(\x0cR\x07entro\
|
|
|
|
|
py\"/\n\x0fGetFirmwareHash\x12\x1c\n\tchallenge\x18\x01\x20\x01(\x0cR\tc\
|
|
|
|
|
hallenge\"\"\n\x0cFirmwareHash\x12\x12\n\x04hash\x18\x01\x20\x02(\x0cR\
|
|
|
|
|
\x04hash\"2\n\x12AuthenticateDevice\x12\x1c\n\tchallenge\x18\x01\x20\x02\
|
|
|
|
|
(\x0cR\tchallenge\"U\n\x11AuthenticityProof\x12\"\n\x0ccertificates\x18\
|
|
|
|
|
\x01\x20\x03(\x0cR\x0ccertificates\x12\x1c\n\tsignature\x18\x02\x20\x02(\
|
|
|
|
|
\x0cR\tsignature\"\x0c\n\nWipeDevice\"\xad\x02\n\nLoadDevice\x12\x1c\n\t\
|
|
|
|
|
mnemonics\x18\x01\x20\x03(\tR\tmnemonics\x12\x10\n\x03pin\x18\x03\x20\
|
|
|
|
|
\x01(\tR\x03pin\x123\n\x15passphrase_protection\x18\x04\x20\x01(\x08R\
|
|
|
|
|
\x14passphraseProtection\x12\x1e\n\x08language\x18\x05\x20\x01(\tR\x08la\
|
|
|
|
|
nguageB\x02\x18\x01\x12\x14\n\x05label\x18\x06\x20\x01(\tR\x05label\x12#\
|
|
|
|
|
\n\rskip_checksum\x18\x07\x20\x01(\x08R\x0cskipChecksum\x12\x1f\n\x0bu2f\
|
|
|
|
|
_counter\x18\x08\x20\x01(\rR\nu2fCounter\x12!\n\x0cneeds_backup\x18\t\
|
|
|
|
|
\x20\x01(\x08R\x0bneedsBackup\x12\x1b\n\tno_backup\x18\n\x20\x01(\x08R\
|
|
|
|
|
\x08noBackup\"\x99\x03\n\x0bResetDevice\x12%\n\x0edisplay_random\x18\x01\
|
|
|
|
|
\x20\x01(\x08R\rdisplayRandom\x12\x1f\n\x08strength\x18\x02\x20\x01(\r:\
|
|
|
|
|
\x03256R\x08strength\x123\n\x15passphrase_protection\x18\x03\x20\x01(\
|
|
|
|
|
\x08R\x14passphraseProtection\x12%\n\x0epin_protection\x18\x04\x20\x01(\
|
|
|
|
|
\x08R\rpinProtection\x12\x1e\n\x08language\x18\x05\x20\x01(\tR\x08langua\
|
|
|
|
|
geB\x02\x18\x01\x12\x14\n\x05label\x18\x06\x20\x01(\tR\x05label\x12\x1f\
|
|
|
|
|
\n\x0bu2f_counter\x18\x07\x20\x01(\rR\nu2fCounter\x12\x1f\n\x0bskip_back\
|
|
|
|
|
up\x18\x08\x20\x01(\x08R\nskipBackup\x12\x1b\n\tno_backup\x18\t\x20\x01(\
|
|
|
|
|
\x08R\x08noBackup\x12Q\n\x0bbackup_type\x18\n\x20\x01(\x0e2).hw.trezor.m\
|
|
|
|
|
essages.management.BackupType:\x05Bip39R\nbackupType\"\x0e\n\x0cBackupDe\
|
|
|
|
|
vice\"\x10\n\x0eEntropyRequest\"&\n\nEntropyAck\x12\x18\n\x07entropy\x18\
|
|
|
|
|
\x01\x20\x02(\x0cR\x07entropy\"\xd8\x03\n\x0eRecoveryDevice\x12\x1d\n\nw\
|
|
|
|
|
ord_count\x18\x01\x20\x01(\rR\twordCount\x123\n\x15passphrase_protection\
|
|
|
|
|
\x18\x02\x20\x01(\x08R\x14passphraseProtection\x12%\n\x0epin_protection\
|
|
|
|
|
\x18\x03\x20\x01(\x08R\rpinProtection\x12\x1e\n\x08language\x18\x04\x20\
|
|
|
|
|
\x01(\tR\x08languageB\x02\x18\x01\x12\x14\n\x05label\x18\x05\x20\x01(\tR\
|
|
|
|
|
\x05label\x12)\n\x10enforce_wordlist\x18\x06\x20\x01(\x08R\x0fenforceWor\
|
|
|
|
|
dlist\x12T\n\x04type\x18\x08\x20\x01(\x0e2@.hw.trezor.messages.managemen\
|
|
|
|
|
t.RecoveryDevice.RecoveryDeviceTypeR\x04type\x12\x1f\n\x0bu2f_counter\
|
|
|
|
|
\x18\t\x20\x01(\rR\nu2fCounter\x12\x17\n\x07dry_run\x18\n\x20\x01(\x08R\
|
|
|
|
|
\x06dryRun\"Z\n\x12RecoveryDeviceType\x12%\n!RecoveryDeviceType_Scramble\
|
|
|
|
|
dWords\x10\0\x12\x1d\n\x19RecoveryDeviceType_Matrix\x10\x01\"\xc5\x01\n\
|
|
|
|
|
\x0bWordRequest\x12N\n\x04type\x18\x01\x20\x02(\x0e2:.hw.trezor.messages\
|
|
|
|
|
.management.WordRequest.WordRequestTypeR\x04type\"f\n\x0fWordRequestType\
|
|
|
|
|
\x12\x19\n\x15WordRequestType_Plain\x10\0\x12\x1b\n\x17WordRequestType_M\
|
|
|
|
|
atrix9\x10\x01\x12\x1b\n\x17WordRequestType_Matrix6\x10\x02\"\x1d\n\x07W\
|
|
|
|
|
ordAck\x12\x12\n\x04word\x18\x01\x20\x02(\tR\x04word\"0\n\rSetU2FCounter\
|
|
|
|
|
\x12\x1f\n\x0bu2f_counter\x18\x01\x20\x02(\rR\nu2fCounter\"\x13\n\x11Get\
|
|
|
|
|
NextU2FCounter\"1\n\x0eNextU2FCounter\x12\x1f\n\x0bu2f_counter\x18\x01\
|
|
|
|
|
\x20\x02(\rR\nu2fCounter\"\x11\n\x0fDoPreauthorized\"\x16\n\x14Preauthor\
|
|
|
|
|
izedRequest\"\x15\n\x13CancelAuthorization\"\x9a\x02\n\x12RebootToBootlo\
|
|
|
|
|
ader\x12o\n\x0cboot_command\x18\x01\x20\x01(\x0e2=.hw.trezor.messages.ma\
|
|
|
|
|
nagement.RebootToBootloader.BootCommand:\rSTOP_AND_WAITR\x0bbootCommand\
|
|
|
|
|
\x12'\n\x0ffirmware_header\x18\x02\x20\x01(\x0cR\x0efirmwareHeader\x123\
|
|
|
|
|
\n\x14language_data_length\x18\x03\x20\x01(\r:\x010R\x12languageDataLeng\
|
|
|
|
|
th\"5\n\x0bBootCommand\x12\x11\n\rSTOP_AND_WAIT\x10\0\x12\x13\n\x0fINSTA\
|
|
|
|
|
LL_UPGRADE\x10\x01\"\x10\n\x08GetNonce:\x04\x88\xb2\x19\x01\"#\n\x05Nonc\
|
|
|
|
|
e\x12\x14\n\x05nonce\x18\x01\x20\x02(\x0cR\x05nonce:\x04\x88\xb2\x19\x01\
|
|
|
|
|
\";\n\nUnlockPath\x12\x1b\n\taddress_n\x18\x01\x20\x03(\rR\x08addressN\
|
|
|
|
|
\x12\x10\n\x03mac\x18\x02\x20\x01(\x0cR\x03mac\"'\n\x13UnlockedPathReque\
|
|
|
|
|
st\x12\x10\n\x03mac\x18\x01\x20\x01(\x0cR\x03mac\"\x14\n\x12ShowDeviceTu\
|
|
|
|
|
torial\"\x12\n\x10UnlockBootloader*>\n\nBackupType\x12\t\n\x05Bip39\x10\
|
|
|
|
|
\0\x12\x10\n\x0cSlip39_Basic\x10\x01\x12\x13\n\x0fSlip39_Advanced\x10\
|
|
|
|
|
\x02*G\n\x10SafetyCheckLevel\x12\n\n\x06Strict\x10\0\x12\x10\n\x0cPrompt\
|
|
|
|
|
Always\x10\x01\x12\x15\n\x11PromptTemporarily\x10\x02*0\n\x10HomescreenF\
|
|
|
|
|
ormat\x12\x08\n\x04Toif\x10\x01\x12\x08\n\x04Jpeg\x10\x02\x12\x08\n\x04T\
|
|
|
|
|
oiG\x10\x03BB\n#com.satoshilabs.trezor.lib.protobufB\x17TrezorMessageMan\
|
|
|
|
|
agement\x80\xa6\x1d\x01\
|
|
|
|
|
";
|
|
|
|
|
|
|
|
|
|
/// `FileDescriptorProto` object which was a source for this generated file
|
|
|
|
|