chore(rust/trezor-client): update generated files
What changed, and why it matters
This commit only regenerates Rust source files from protobuf definitions using a newer version of the protoc compiler (31.1 instead of 3.19.6). The only visible changes are updated version comments and a few reordered bytes inside generated metadata. There is no change to message logic, security behavior, or how the Trezor device handles data.
No security action required. Treat as routine generated-file maintenance. If reviewing for supply-chain risk, verify the protobuf compiler version used in CI is the intended 31.1 release.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates 27 auto-generated files under rust/trezor-client/src/protos/generated. Each file changes the parsed-by comment from protoc 3.19.6 to protoc 31.1. In messages.rs the embedded file_descriptor_proto_data byte string shows minor reordering of option bytes for some MessageType enum values (e.g., Initialize, Cancel, DebugLinkGetState), consistent with a newer protoc emitting the same options in a different order. No Rust code logic, field definitions, wire formats, or security checks are modified.
Changed components
rust/trezor-client/src/protos/generated/*Inspect captured patch +33 / −33
diff --git a/rust/trezor-client/src/protos/generated/messages.rs b/rust/trezor-client/src/protos/generated/messages.rs
index fec3c95e..5eef985c 100644
--- a/rust/trezor-client/src/protos/generated/messages.rs
+++ b/rust/trezor-client/src/protos/generated/messages.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
@@ -1777,8 +1777,8 @@ impl MessageType {
static file_descriptor_proto_data: &'static [u8] = b"\
\n\x0emessages.proto\x12\x12hw.trezor.messages\x1a\roptions.proto*\xa9c\
- \n\x0bMessageType\x12(\n\x16MessageType_Initialize\x10\0\x1a\x0c\x80\xa6\
- \x1d\x01\xb0\xb5\x18\x01\x90\xb5\x18\x01\x12\x1e\n\x10MessageType_Ping\
+ \n\x0bMessageType\x12(\n\x16MessageType_Initialize\x10\0\x1a\x0c\xb0\xb5\
+ \x18\x01\x80\xa6\x1d\x01\x90\xb5\x18\x01\x12\x1e\n\x10MessageType_Ping\
\x10\x01\x1a\x08\x80\xa6\x1d\x01\x90\xb5\x18\x01\x12%\n\x13MessageType_S\
uccess\x10\x02\x1a\x0c\x80\xa6\x1d\x01\xa8\xb5\x18\x01\x98\xb5\x18\x01\
\x12%\n\x13MessageType_Failure\x10\x03\x1a\x0c\x80\xa6\x1d\x01\xa8\xb5\
@@ -1794,8 +1794,8 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x01\x98\xb5\x18\x01\x12*\n\x1cMessageType_PinMatrixRequest\x10\x12\x1a\
\x08\x80\xa6\x1d\x01\x98\xb5\x18\x01\x12.\n\x18MessageType_PinMatrixAck\
\x10\x13\x1a\x10\xc0\xb5\x18\x01\xb0\xb5\x18\x01\x80\xa6\x1d\x01\x90\xb5\
- \x18\x01\x12$\n\x12MessageType_Cancel\x10\x14\x1a\x0c\x80\xa6\x1d\x01\
- \xb0\xb5\x18\x01\x90\xb5\x18\x01\x12$\n\x16MessageType_LockDevice\x10\
+ \x18\x01\x12$\n\x12MessageType_Cancel\x10\x14\x1a\x0c\xb0\xb5\x18\x01\
+ \x80\xa6\x1d\x01\x90\xb5\x18\x01\x12$\n\x16MessageType_LockDevice\x10\
\x18\x1a\x08\x80\xa6\x1d\x01\x90\xb5\x18\x01\x12'\n\x19MessageType_Apply\
Settings\x10\x19\x1a\x08\x80\xa6\x1d\x01\x90\xb5\x18\x01\x12'\n\x19Messa\
geType_ButtonRequest\x10\x1a\x1a\x08\x80\xa6\x1d\x01\x98\xb5\x18\x01\x12\
@@ -1882,8 +1882,8 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x01\x98\xb5\x18\x01\x12-\n\x1fMessageType_PaymentNotification\x104\x1a\
\x08\x80\xa6\x1d\x01\x90\xb5\x18\x01\x123\n\x1dMessageType_DebugLinkDeci\
sion\x10d\x1a\x10\xc0\xb5\x18\x01\xb0\xb5\x18\x01\x80\xa6\x1d\x01\xa0\
- \xb5\x18\x01\x12/\n\x1dMessageType_DebugLinkGetState\x10e\x1a\x0c\x80\
- \xa6\x1d\x01\xb0\xb5\x18\x01\xa0\xb5\x18\x01\x12(\n\x1aMessageType_Debug\
+ \xb5\x18\x01\x12/\n\x1dMessageType_DebugLinkGetState\x10e\x1a\x0c\xb0\
+ \xb5\x18\x01\x80\xa6\x1d\x01\xa0\xb5\x18\x01\x12(\n\x1aMessageType_Debug\
LinkState\x10f\x1a\x08\x80\xa6\x1d\x01\xa8\xb5\x18\x01\x12'\n\x19Message\
Type_DebugLinkStop\x10g\x1a\x08\x80\xa6\x1d\x01\xa0\xb5\x18\x01\x12&\n\
\x18MessageType_DebugLinkLog\x10h\x1a\x08\x80\xa6\x1d\x01\xa8\xb5\x18\
diff --git a/rust/trezor-client/src/protos/generated/messages_benchmark.rs b/rust/trezor-client/src/protos/generated/messages_benchmark.rs
index 17395468..077691f4 100644
--- a/rust/trezor-client/src/protos/generated/messages_benchmark.rs
+++ b/rust/trezor-client/src/protos/generated/messages_benchmark.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_bitcoin.rs b/rust/trezor-client/src/protos/generated/messages_bitcoin.rs
index f01ea2cf..66add1ac 100644
--- a/rust/trezor-client/src/protos/generated/messages_bitcoin.rs
+++ b/rust/trezor-client/src/protos/generated/messages_bitcoin.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_ble.rs b/rust/trezor-client/src/protos/generated/messages_ble.rs
index adb3be78..60c62fc0 100644
--- a/rust/trezor-client/src/protos/generated/messages_ble.rs
+++ b/rust/trezor-client/src/protos/generated/messages_ble.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_bootloader.rs b/rust/trezor-client/src/protos/generated/messages_bootloader.rs
index a2429d15..6bc35187 100644
--- a/rust/trezor-client/src/protos/generated/messages_bootloader.rs
+++ b/rust/trezor-client/src/protos/generated/messages_bootloader.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_cardano.rs b/rust/trezor-client/src/protos/generated/messages_cardano.rs
index 858adaf4..30157a52 100644
--- a/rust/trezor-client/src/protos/generated/messages_cardano.rs
+++ b/rust/trezor-client/src/protos/generated/messages_cardano.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_common.rs b/rust/trezor-client/src/protos/generated/messages_common.rs
index 734a1482..f6c322e2 100644
--- a/rust/trezor-client/src/protos/generated/messages_common.rs
+++ b/rust/trezor-client/src/protos/generated/messages_common.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_crypto.rs b/rust/trezor-client/src/protos/generated/messages_crypto.rs
index 11ea1565..cb3bcab3 100644
--- a/rust/trezor-client/src/protos/generated/messages_crypto.rs
+++ b/rust/trezor-client/src/protos/generated/messages_crypto.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_debug.rs b/rust/trezor-client/src/protos/generated/messages_debug.rs
index d34c7d50..890d81e8 100644
--- a/rust/trezor-client/src/protos/generated/messages_debug.rs
+++ b/rust/trezor-client/src/protos/generated/messages_debug.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_definitions.rs b/rust/trezor-client/src/protos/generated/messages_definitions.rs
index 58b2e38b..bb145028 100644
--- a/rust/trezor-client/src/protos/generated/messages_definitions.rs
+++ b/rust/trezor-client/src/protos/generated/messages_definitions.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_eos.rs b/rust/trezor-client/src/protos/generated/messages_eos.rs
index 16c9d3fa..0befeaf9 100644
--- a/rust/trezor-client/src/protos/generated/messages_eos.rs
+++ b/rust/trezor-client/src/protos/generated/messages_eos.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_ethereum.rs b/rust/trezor-client/src/protos/generated/messages_ethereum.rs
index 543d6986..c965323b 100644
--- a/rust/trezor-client/src/protos/generated/messages_ethereum.rs
+++ b/rust/trezor-client/src/protos/generated/messages_ethereum.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_ethereum_eip712.rs b/rust/trezor-client/src/protos/generated/messages_ethereum_eip712.rs
index 54605647..97f0a9b8 100644
--- a/rust/trezor-client/src/protos/generated/messages_ethereum_eip712.rs
+++ b/rust/trezor-client/src/protos/generated/messages_ethereum_eip712.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_evolu.rs b/rust/trezor-client/src/protos/generated/messages_evolu.rs
index b91f9b21..45372c31 100644
--- a/rust/trezor-client/src/protos/generated/messages_evolu.rs
+++ b/rust/trezor-client/src/protos/generated/messages_evolu.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_management.rs b/rust/trezor-client/src/protos/generated/messages_management.rs
index eacf534c..43c68054 100644
--- a/rust/trezor-client/src/protos/generated/messages_management.rs
+++ b/rust/trezor-client/src/protos/generated/messages_management.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_monero.rs b/rust/trezor-client/src/protos/generated/messages_monero.rs
index 621c9f71..0535c485 100644
--- a/rust/trezor-client/src/protos/generated/messages_monero.rs
+++ b/rust/trezor-client/src/protos/generated/messages_monero.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_nem.rs b/rust/trezor-client/src/protos/generated/messages_nem.rs
index 000ff3e0..34b9431a 100644
--- a/rust/trezor-client/src/protos/generated/messages_nem.rs
+++ b/rust/trezor-client/src/protos/generated/messages_nem.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_nostr.rs b/rust/trezor-client/src/protos/generated/messages_nostr.rs
index f3404b72..ca18b53b 100644
--- a/rust/trezor-client/src/protos/generated/messages_nostr.rs
+++ b/rust/trezor-client/src/protos/generated/messages_nostr.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_ripple.rs b/rust/trezor-client/src/protos/generated/messages_ripple.rs
index d8bdf65f..f5859cf6 100644
--- a/rust/trezor-client/src/protos/generated/messages_ripple.rs
+++ b/rust/trezor-client/src/protos/generated/messages_ripple.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_solana.rs b/rust/trezor-client/src/protos/generated/messages_solana.rs
index 88c00ab9..e5dca09f 100644
--- a/rust/trezor-client/src/protos/generated/messages_solana.rs
+++ b/rust/trezor-client/src/protos/generated/messages_solana.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_stellar.rs b/rust/trezor-client/src/protos/generated/messages_stellar.rs
index 08030d53..0be0572c 100644
--- a/rust/trezor-client/src/protos/generated/messages_stellar.rs
+++ b/rust/trezor-client/src/protos/generated/messages_stellar.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_telemetry.rs b/rust/trezor-client/src/protos/generated/messages_telemetry.rs
index c9067789..de0c3ec5 100644
--- a/rust/trezor-client/src/protos/generated/messages_telemetry.rs
+++ b/rust/trezor-client/src/protos/generated/messages_telemetry.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_tezos.rs b/rust/trezor-client/src/protos/generated/messages_tezos.rs
index c96a4938..25576bf5 100644
--- a/rust/trezor-client/src/protos/generated/messages_tezos.rs
+++ b/rust/trezor-client/src/protos/generated/messages_tezos.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_thp.rs b/rust/trezor-client/src/protos/generated/messages_thp.rs
index 00e6cbb9..87d58ae2 100644
--- a/rust/trezor-client/src/protos/generated/messages_thp.rs
+++ b/rust/trezor-client/src/protos/generated/messages_thp.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_tron.rs b/rust/trezor-client/src/protos/generated/messages_tron.rs
index 7b1a9f66..d6873e34 100644
--- a/rust/trezor-client/src/protos/generated/messages_tron.rs
+++ b/rust/trezor-client/src/protos/generated/messages_tron.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/messages_webauthn.rs b/rust/trezor-client/src/protos/generated/messages_webauthn.rs
index 143a0554..c81f56bd 100644
--- a/rust/trezor-client/src/protos/generated/messages_webauthn.rs
+++ b/rust/trezor-client/src/protos/generated/messages_webauthn.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
diff --git a/rust/trezor-client/src/protos/generated/options.rs b/rust/trezor-client/src/protos/generated/options.rs
index 0a546aff..4c8383bf 100644
--- a/rust/trezor-client/src/protos/generated/options.rs
+++ b/rust/trezor-client/src/protos/generated/options.rs
@@ -1,5 +1,5 @@
// This file is generated by rust-protobuf 3.7.2. Do not edit
-// .proto file is parsed by protoc 3.19.6
+// .proto file is parsed by protoc 31.1
// @generated
// https://github.com/rust-lang/rust-clippy/issues/702
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.