package hw.trezor.messages.management

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

message ApplyFlags

messages-management.proto:286

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

message ApplySettings

messages-management.proto:220

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

message AuthenticateDevice

messages-management.proto:387

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

message AuthenticityProof

messages-management.proto:395

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

message BackupDevice

messages-management.proto:460

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

message BackupDevice.Slip39Group

messages-management.proto:462

Used in: BackupDevice

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:343

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

(message has no fields)

message CancelAuthorization

messages-management.proto:615

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

(message has no fields)

message ChangeLanguage

messages-management.proto:247

* 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:296

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

message ChangeWipeCode

messages-management.proto:306

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

message DataChunkAck

messages-management.proto:276

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

message DataChunkRequest

messages-management.proto:266

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

enum DisplayRotation

messages-management.proto:37

* Allowed display rotation angles (in degrees from North)

Used in: ApplySettings, Features

message DoPreauthorized

messages-management.proto:599

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

(message has no fields)

message EndSession

messages-management.proto:211

* 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:359

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

message EntropyAck

messages-management.proto:483

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

message EntropyCheckContinue

messages-management.proto:500

* 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:492

* 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:473

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

message Features

messages-management.proto:75

* Response: Reports various information about the device @end

enum Features.BackupAvailability

messages-management.proto:141

Used in: Features

enum Features.Capability

messages-management.proto:156

Used in: Features

enum Features.RecoveryStatus

messages-management.proto:150

Used in: Features

message FirmwareHash

messages-management.proto:377

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

message GetEntropy

messages-management.proto:351

* 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:69

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

(message has no fields)

message GetFirmwareHash

messages-management.proto:369

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

message GetNextU2FCounter

messages-management.proto:583

* Request: Set U2F counter @start @next NextU2FCounter

(message has no fields)

message GetNonce

messages-management.proto:644

* 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:705

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

(message has no fields)

enum HomescreenFormat

messages-management.proto:47

* Format of the homescreen image

Used in: Features

message Initialize

messages-management.proto:58

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

message LoadDevice

messages-management.proto:422

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

message LockDevice

messages-management.proto:192

* 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:589

* Request: Set U2F counter @end

message Nonce

messages-management.proto:650

* Response: Contains a random nonce @end

message Ping

messages-management.proto:333

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

message PreauthorizedRequest

messages-management.proto:607

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

(message has no fields)

message RebootToBootloader

messages-management.proto:623

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

enum RebootToBootloader.BootCommand

messages-management.proto:631

Used in: RebootToBootloader

message RecoveryDevice

messages-management.proto:510

* 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:529

* 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 ScrambledWords must be supported by every implementation for backward compatibility; there is no way to not support it.

Used in: RecoveryDevice

enum RecoveryType

messages-management.proto:536

Used in: Features, RecoveryDevice

message ResetDevice

messages-management.proto:441

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

enum SafetyCheckLevel

messages-management.proto:28

* 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:316

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

enum SdProtect.SdProtectOperationType

messages-management.proto:321

* Structure representing SD card protection operation

Used in: SdProtect

message SerialNumber

messages-management.proto:711

* Response: contains unit serial number @end

message SetBrightness

messages-management.proto:696

* Request: Set device brightness @start @next Success

message SetBusy

messages-management.proto:199

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

message SetU2FCounter

messages-management.proto:574

* Request: Set U2F counter @start @next Success

message ShowDeviceTutorial

messages-management.proto:681

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

(message has no fields)

message UnlockBootloader

messages-management.proto:689

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

(message has no fields)

message UnlockPath

messages-management.proto:660

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

message UnlockedPathRequest

messages-management.proto:672

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

message WipeDevice

messages-management.proto:414

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

(message has no fields)

message WordAck

messages-management.proto:565

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

message WordRequest

messages-management.proto:547

* 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:552

* Type of Recovery Word request

Used in: WordRequest