package hw.trezor.messages.management

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ApplyFlags

messages-management.proto:298

* Request: set flags of the device @start @next Success @next Failure

message ApplySettings

messages-management.proto:232

* Request: change some property of the device, e.g. label or homescreen @start @next Success @next DataChunkRequest @next Failure

message AuthenticateDevice

messages-management.proto:400

* Request: Request a signature of the provided challenge. @start @next AuthenticityProof @next AuthenticityProofSizes @next Failure

message AuthenticityProof

messages-management.proto:410

* Response: Signature of the provided challenge along with a certificate issued by the Trezor company. @end

message AuthenticityProofChunk

messages-management.proto:461

* Response: Return requested authenticity proof data chunk. @next GetAuthenticityProofChunk

message AuthenticityProofSizes

messages-management.proto:430

* Response: Sizes of the corresponding proof parts (see above). @next GetAuthenticityProofChunk

message BackupDevice

messages-management.proto:518

* Request: Perform backup of the device seed if not backed up using ResetDevice @start @next Success

message BackupDevice.Slip39Group

messages-management.proto:520

Used in: BackupDevice

enum BackupMethod

messages-management.proto:28

* Backup method of the mnemonic shares.

Used in: BackupDevice, RecoveryDevice, ResetDevice

enum BackupType

messages-management.proto:16

* Type of the mnemonic backup given/received by the device during reset/recovery.

Used in: debug.DebugLinkState, Features, ResetDevice

message Cancel

messages-management.proto:355

* Request: Abort last operation that required user interaction @start @next Failure

(message has no fields)

message CancelAuthorization

messages-management.proto:675

* Request: Cancel any outstanding authorization in the current session. @start @next Success @next Failure

(message has no fields)

message ChangeLanguage

messages-management.proto:259

* Request: change the device language via translation data. Does not send the translation data itself, as they are too large for one message. Device will request the translation data in chunks. @start @next DataChunkRequest @next Failure

message ChangePin

messages-management.proto:308

* Request: Starts workflow for setting/changing/removing the PIN @start @next Success @next Failure

message ChangeWipeCode

messages-management.proto:318

* Request: Starts workflow for setting/removing the wipe code @start @next Success @next Failure

message DataChunkAck

messages-management.proto:288

* Request: Translation/homescreen payload data. @next DataChunkRequest @next Success

message DataChunkRequest

messages-management.proto:278

* Response: Device asks for more data from translation/homescreen image. @end @next DataChunkAck

enum DisplayRotation

messages-management.proto:45

* Allowed display rotation angles (in degrees from North)

Used in: ApplySettings, Features

message DoPreauthorized

messages-management.proto:659

* Request: Ask device to prepare for a preauthorized operation. @start @next PreauthorizedRequest @next Failure

(message has no fields)

message EndSession

messages-management.proto:223

* Request: end the current sesson. Following actions must call Initialize again. Cache for the current session is discarded, other sessions remain intact. Device is not PIN-locked. @start @next Success

(message has no fields)

message Entropy

messages-management.proto:371

* Response: Reply with random data generated by internal RNG @end

message EntropyAck

messages-management.proto:542

* Request: Provide additional entropy for seed generation function @next Success @next EntropyCheckReady

message EntropyCheckContinue

messages-management.proto:559

* Request: Proceed with the next phase of the entropy check protocol, asking Trezor to either reveal its internal entropy or to finish and store the seed. @next Success @next EntropyRequest

message EntropyCheckReady

messages-management.proto:551

* Response: Trezor is ready for the next phase of the entropy check protocol. @next EntropyCheckContinue @next GetPublicKey

(message has no fields)

message EntropyRequest

messages-management.proto:532

* Response: Ask for additional entropy from host computer @next EntropyAck

message Features

messages-management.proto:83

* Response: Reports various information about the device @end

enum Features.BackupAvailability

messages-management.proto:150

Used in: Features

enum Features.Capability

messages-management.proto:165

Used in: Features

enum Features.RecoveryStatus

messages-management.proto:159

Used in: Features

message FirmwareHash

messages-management.proto:389

* Response: Hash of the installed firmware combined with the optional challenge. @end

message GetAuthenticityProofChunk

messages-management.proto:444

* Request: Request authenticity proof data chunk, or finish the workflow if `proof_type` is not set. @next AuthenticityProofChunk @next Success

enum GetAuthenticityProofChunk.AuthenticityProofType

messages-management.proto:450

Used in: GetAuthenticityProofChunk

message GetEntropy

messages-management.proto:363

* Request: Request a sample of random data generated by hardware RNG. May be used for testing. @start @next Entropy @next Failure

message GetFeatures

messages-management.proto:77

* Request: Ask for device details (no device reset) @start @next Features

(message has no fields)

message GetFirmwareHash

messages-management.proto:381

* Request: Get a hash of the installed firmware combined with an optional challenge. @start @next FirmwareHash @next Failure

message GetNextU2FCounter

messages-management.proto:643

* Request: Set U2F counter @start @next NextU2FCounter

(message has no fields)

message GetNonce

messages-management.proto:704

* Request: Ask device to generate a random nonce and store it in the session's cache @start @next Nonce

(message has no fields)

message GetSerialNumber

messages-management.proto:765

* Request: Get unit serial number @start @next SerialNumber

(message has no fields)

enum HomescreenFormat

messages-management.proto:55

* Format of the homescreen image

Used in: Features

message Initialize

messages-management.proto:66

* Request: Reset device to default state and ask for device details @start @next Features

message LoadDevice

messages-management.proto:479

* Request: Load seed and related internal settings from the computer @start @next Success @next Failure

message LockDevice

messages-management.proto:204

* Request: soft-lock the device. Following actions will require PIN. Passphrases remain cached. @start @next Success

(message has no fields)

message NextU2FCounter

messages-management.proto:649

* Request: Set U2F counter @end

message Nonce

messages-management.proto:710

* Response: Contains a random nonce @end

message Ping

messages-management.proto:345

* Request: Test if the device is alive, device sends back the message in Success response @start @next Success

message PreauthorizedRequest

messages-management.proto:667

* Request: Device awaits a preauthorized operation. @start @next SignTx @next GetOwnershipProof

(message has no fields)

message RebootToBootloader

messages-management.proto:683

* Request: Reboot firmware to bootloader @start @next Success @next DataChunkRequest

enum RebootToBootloader.BootCommand

messages-management.proto:691

Used in: RebootToBootloader

message RecoveryDevice

messages-management.proto:569

* Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer. @start @next WordRequest

enum RecoveryDevice.RecoveryDeviceInputMethod

messages-management.proto:589

* Type of recovery procedure. These should be used as bitmask, e.g., `RecoveryDeviceInputMethod_ScrambledWords | RecoveryDeviceInputMethod_Matrix` listing every method supported by the host computer. Note that Matrix recovery is the recommended recovery method. ScrambledWords is allowed only for 24 word recovery, unless safety checks are disabled.

Used in: RecoveryDevice

enum RecoveryType

messages-management.proto:596

Used in: Features, RecoveryDevice

message ResetDevice

messages-management.proto:498

* Request: Ask device to do initialization involving user interaction @start @next EntropyRequest @next Failure

enum SafetyCheckLevel

messages-management.proto:36

* Level of safety checks for unsafe actions like spending from invalid path namespace or setting high transaction fee.

Used in: ApplySettings, Features

message SdProtect

messages-management.proto:328

* Request: Starts workflow for enabling/regenerating/disabling SD card protection @start @next Success @next Failure

enum SdProtect.SdProtectOperationType

messages-management.proto:333

* Structure representing SD card protection operation

Used in: SdProtect

message SerialNumber

messages-management.proto:771

* Response: contains unit serial number @end

message SetBrightness

messages-management.proto:756

* Request: Set device brightness @start @next Success

message SetBusy

messages-management.proto:211

* Request: Show a "Do not disconnect" dialog instead of the standard homescreen. @start @next Success

message SetU2FCounter

messages-management.proto:634

* Request: Set U2F counter @start @next Success

message ShowDeviceTutorial

messages-management.proto:741

* Request: Show tutorial screens on the device @start @next Success

(message has no fields)

message UnlockBootloader

messages-management.proto:749

* Request: Unlocks bootloader, !irreversible! @start @next Success @next Failure

(message has no fields)

message UnlockPath

messages-management.proto:720

* Request: Ask device to unlock a subtree of the keychain. @start @next UnlockedPathRequest @next Failure

message UnlockedPathRequest

messages-management.proto:732

* Request: Device awaits an operation. @start @next SignTx @next GetPublicKey @next GetAddress

message WipeDevice

messages-management.proto:471

* Request: Request device to wipe all sensitive data and settings @start @next Success @next Failure

(message has no fields)

message WordAck

messages-management.proto:625

* Request: Computer replies with word from the mnemonic @next WordRequest @next Success @next Failure

message WordRequest

messages-management.proto:607

* Response: Device is waiting for user to enter word of the mnemonic Its position is shown only on device's internal display. @next WordAck

enum WordRequest.WordRequestType

messages-management.proto:612

* Type of Recovery Word request

Used in: WordRequest