Skip to content

Commit c842929

Browse files
committed
messages: add securechip_model to DeviceInfoResponse
"ATECC608A" or "ATECC608B".
1 parent 2fd10c8 commit c842929

File tree

4 files changed

+35
-21
lines changed

4 files changed

+35
-21
lines changed

messages/bitbox02_system.proto

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ message DeviceInfoRequest {
2626
}
2727

2828
message DeviceInfoResponse {
29-
string name = 1;
30-
bool initialized = 2;
31-
string version = 3;
32-
bool mnemonic_passphrase_enabled = 4;
33-
uint32 monotonic_increments_remaining = 5;
29+
string name = 1;
30+
bool initialized = 2;
31+
string version = 3;
32+
bool mnemonic_passphrase_enabled = 4;
33+
uint32 monotonic_increments_remaining = 5;
34+
// From v9.6.0: "ATECC608A" or "ATECC608B".
35+
string securechip_model = 6;
3436
}
3537

3638
message InsertRemoveSDCardRequest {

py/bitbox02/bitbox02/communication/generated/bitbox02_system_pb2.py

Lines changed: 21 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

py/bitbox02/bitbox02/communication/generated/bitbox02_system_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class DeviceInfoResponse(google___protobuf___message___Message):
6161
version = ... # type: typing___Text
6262
mnemonic_passphrase_enabled = ... # type: bool
6363
monotonic_increments_remaining = ... # type: int
64+
securechip_model = ... # type: typing___Text
6465

6566
def __init__(self,
6667
*,
@@ -69,15 +70,16 @@ class DeviceInfoResponse(google___protobuf___message___Message):
6970
version : typing___Optional[typing___Text] = None,
7071
mnemonic_passphrase_enabled : typing___Optional[bool] = None,
7172
monotonic_increments_remaining : typing___Optional[int] = None,
73+
securechip_model : typing___Optional[typing___Text] = None,
7274
) -> None: ...
7375
@classmethod
7476
def FromString(cls, s: bytes) -> DeviceInfoResponse: ...
7577
def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
7678
def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
7779
if sys.version_info >= (3,):
78-
def ClearField(self, field_name: typing_extensions___Literal[u"initialized",u"mnemonic_passphrase_enabled",u"monotonic_increments_remaining",u"name",u"version"]) -> None: ...
80+
def ClearField(self, field_name: typing_extensions___Literal[u"initialized",u"mnemonic_passphrase_enabled",u"monotonic_increments_remaining",u"name",u"securechip_model",u"version"]) -> None: ...
7981
else:
80-
def ClearField(self, field_name: typing_extensions___Literal[u"initialized",b"initialized",u"mnemonic_passphrase_enabled",b"mnemonic_passphrase_enabled",u"monotonic_increments_remaining",b"monotonic_increments_remaining",u"name",b"name",u"version",b"version"]) -> None: ...
82+
def ClearField(self, field_name: typing_extensions___Literal[u"initialized",b"initialized",u"mnemonic_passphrase_enabled",b"mnemonic_passphrase_enabled",u"monotonic_increments_remaining",b"monotonic_increments_remaining",u"name",b"name",u"securechip_model",b"securechip_model",u"version",b"version"]) -> None: ...
8183

8284
class InsertRemoveSDCardRequest(google___protobuf___message___Message):
8385
class SDCardAction(int):

src/rust/bitbox02-rust/src/shiftcrypto.bitbox02.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ pub struct DeviceInfoResponse {
9494
pub mnemonic_passphrase_enabled: bool,
9595
#[prost(uint32, tag="5")]
9696
pub monotonic_increments_remaining: u32,
97+
/// From v9.6.0: "ATECC608A" or "ATECC608B".
98+
#[prost(string, tag="6")]
99+
pub securechip_model: ::prost::alloc::string::String,
97100
}
98101
#[derive(Clone, PartialEq, ::prost::Message)]
99102
pub struct InsertRemoveSdCardRequest {

0 commit comments

Comments
 (0)