Skip to content

Commit

Permalink
feat(common): Add DebugLinkOptigaSetSecMax message.
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
andrewkozlik committed Jul 9, 2024
1 parent a4cf0b2 commit b71a809
Show file tree
Hide file tree
Showing 10 changed files with 466 additions and 330 deletions.
9 changes: 9 additions & 0 deletions common/protob/messages-debug.proto
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,12 @@ message DebugLinkWatchLayout {
*/
message DebugLinkResetDebugEvents {
}


/**
* Request: Set Optiga's security even counter to maximum
* @start
* @next Success
*/
message DebugLinkOptigaSetSecMax {
}
1 change: 1 addition & 0 deletions common/protob/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ enum MessageType {
MessageType_DebugLinkEraseSdCard = 9005 [(bitcoin_only) = true, (wire_debug_in) = true];
MessageType_DebugLinkWatchLayout = 9006 [(bitcoin_only) = true, (wire_debug_in) = true];
MessageType_DebugLinkResetDebugEvents = 9007 [(bitcoin_only) = true, (wire_debug_in) = true];
MessageType_DebugLinkOptigaSetSecMax = 9008 [(bitcoin_only) = true, (wire_debug_in) = true];

// Ethereum
MessageType_EthereumGetPublicKey = 450 [(wire_in) = true];
Expand Down
1 change: 1 addition & 0 deletions core/src/trezor/enums/MessageType.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/src/trezor/enums/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions core/src/trezor/messages.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion legacy/firmware/protob/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SKIPPED_MESSAGES := Binance Cardano DebugMonero Eos Monero Ontology Ripple SdPro
UnlockBootloader AuthenticateDevice AuthenticityProof \
Solana StellarClaimClaimableBalanceOp \
ChangeLanguage TranslationDataRequest TranslationDataAck \
SetBrightness \
SetBrightness DebugLinkOptigaSetSecMax \

ifeq ($(BITCOIN_ONLY), 1)
SKIPPED_MESSAGES += Ethereum NEM Stellar
Expand Down
5 changes: 5 additions & 0 deletions python/src/trezorlib/messages.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rust/trezor-client/src/messages/generated.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

659 changes: 333 additions & 326 deletions rust/trezor-client/src/protos/generated/messages.rs

Large diffs are not rendered by default.

111 changes: 108 additions & 3 deletions rust/trezor-client/src/protos/generated/messages_debug.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b71a809

Please sign in to comment.