mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-17 19:00:58 +00:00
fix(proto): fix typo in previous commit
This commit is contained in:
parent
6644e149b2
commit
a1a1a7a36c
@ -34,7 +34,7 @@ enum SafetyCheckLevel {
|
|||||||
*/
|
*/
|
||||||
message Initialize {
|
message Initialize {
|
||||||
optional bytes session_id = 1; // assumed device session id; Trezor clears caches if it is different or empty
|
optional bytes session_id = 1; // assumed device session id; Trezor clears caches if it is different or empty
|
||||||
optional boolean _skip_passphrase = 2 [deprecated=true]; // removed as part of passphrase redesign
|
optional bool _skip_passphrase = 2 [deprecated=true]; // removed as part of passphrase redesign
|
||||||
optional bool derive_cardano = 3; // whether to derive Cardano Icarus root keys in this session
|
optional bool derive_cardano = 3; // whether to derive Cardano Icarus root keys in this session
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3007,6 +3007,7 @@ class Initialize(protobuf.MessageType):
|
|||||||
MESSAGE_WIRE_TYPE = 0
|
MESSAGE_WIRE_TYPE = 0
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
1: protobuf.Field("session_id", "bytes", repeated=False, required=False),
|
1: protobuf.Field("session_id", "bytes", repeated=False, required=False),
|
||||||
|
2: protobuf.Field("_skip_passphrase", "bool", repeated=False, required=False),
|
||||||
3: protobuf.Field("derive_cardano", "bool", repeated=False, required=False),
|
3: protobuf.Field("derive_cardano", "bool", repeated=False, required=False),
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3014,9 +3015,11 @@ class Initialize(protobuf.MessageType):
|
|||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
session_id: Optional["bytes"] = None,
|
session_id: Optional["bytes"] = None,
|
||||||
|
_skip_passphrase: Optional["bool"] = None,
|
||||||
derive_cardano: Optional["bool"] = None,
|
derive_cardano: Optional["bool"] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
self.session_id = session_id
|
self.session_id = session_id
|
||||||
|
self._skip_passphrase = _skip_passphrase
|
||||||
self.derive_cardano = derive_cardano
|
self.derive_cardano = derive_cardano
|
||||||
|
|
||||||
|
|
||||||
@ -3042,6 +3045,7 @@ class Features(protobuf.MessageType):
|
|||||||
14: protobuf.Field("bootloader_hash", "bytes", repeated=False, required=False),
|
14: protobuf.Field("bootloader_hash", "bytes", repeated=False, required=False),
|
||||||
15: protobuf.Field("imported", "bool", repeated=False, required=False),
|
15: protobuf.Field("imported", "bool", repeated=False, required=False),
|
||||||
16: protobuf.Field("unlocked", "bool", repeated=False, required=False),
|
16: protobuf.Field("unlocked", "bool", repeated=False, required=False),
|
||||||
|
17: protobuf.Field("_passphrase_cached", "bool", repeated=False, required=False),
|
||||||
18: protobuf.Field("firmware_present", "bool", repeated=False, required=False),
|
18: protobuf.Field("firmware_present", "bool", repeated=False, required=False),
|
||||||
19: protobuf.Field("needs_backup", "bool", repeated=False, required=False),
|
19: protobuf.Field("needs_backup", "bool", repeated=False, required=False),
|
||||||
20: protobuf.Field("flags", "uint32", repeated=False, required=False),
|
20: protobuf.Field("flags", "uint32", repeated=False, required=False),
|
||||||
@ -3086,6 +3090,7 @@ class Features(protobuf.MessageType):
|
|||||||
bootloader_hash: Optional["bytes"] = None,
|
bootloader_hash: Optional["bytes"] = None,
|
||||||
imported: Optional["bool"] = None,
|
imported: Optional["bool"] = None,
|
||||||
unlocked: Optional["bool"] = None,
|
unlocked: Optional["bool"] = None,
|
||||||
|
_passphrase_cached: Optional["bool"] = None,
|
||||||
firmware_present: Optional["bool"] = None,
|
firmware_present: Optional["bool"] = None,
|
||||||
needs_backup: Optional["bool"] = None,
|
needs_backup: Optional["bool"] = None,
|
||||||
flags: Optional["int"] = None,
|
flags: Optional["int"] = None,
|
||||||
@ -3125,6 +3130,7 @@ class Features(protobuf.MessageType):
|
|||||||
self.bootloader_hash = bootloader_hash
|
self.bootloader_hash = bootloader_hash
|
||||||
self.imported = imported
|
self.imported = imported
|
||||||
self.unlocked = unlocked
|
self.unlocked = unlocked
|
||||||
|
self._passphrase_cached = _passphrase_cached
|
||||||
self.firmware_present = firmware_present
|
self.firmware_present = firmware_present
|
||||||
self.needs_backup = needs_backup
|
self.needs_backup = needs_backup
|
||||||
self.flags = flags
|
self.flags = flags
|
||||||
@ -3164,6 +3170,7 @@ class ApplySettings(protobuf.MessageType):
|
|||||||
2: protobuf.Field("label", "string", repeated=False, required=False),
|
2: protobuf.Field("label", "string", repeated=False, required=False),
|
||||||
3: protobuf.Field("use_passphrase", "bool", repeated=False, required=False),
|
3: protobuf.Field("use_passphrase", "bool", repeated=False, required=False),
|
||||||
4: protobuf.Field("homescreen", "bytes", repeated=False, required=False),
|
4: protobuf.Field("homescreen", "bytes", repeated=False, required=False),
|
||||||
|
5: protobuf.Field("_passphrase_source", "uint32", repeated=False, required=False),
|
||||||
6: protobuf.Field("auto_lock_delay_ms", "uint32", repeated=False, required=False),
|
6: protobuf.Field("auto_lock_delay_ms", "uint32", repeated=False, required=False),
|
||||||
7: protobuf.Field("display_rotation", "uint32", repeated=False, required=False),
|
7: protobuf.Field("display_rotation", "uint32", repeated=False, required=False),
|
||||||
8: protobuf.Field("passphrase_always_on_device", "bool", repeated=False, required=False),
|
8: protobuf.Field("passphrase_always_on_device", "bool", repeated=False, required=False),
|
||||||
@ -3178,6 +3185,7 @@ class ApplySettings(protobuf.MessageType):
|
|||||||
label: Optional["str"] = None,
|
label: Optional["str"] = None,
|
||||||
use_passphrase: Optional["bool"] = None,
|
use_passphrase: Optional["bool"] = None,
|
||||||
homescreen: Optional["bytes"] = None,
|
homescreen: Optional["bytes"] = None,
|
||||||
|
_passphrase_source: Optional["int"] = None,
|
||||||
auto_lock_delay_ms: Optional["int"] = None,
|
auto_lock_delay_ms: Optional["int"] = None,
|
||||||
display_rotation: Optional["int"] = None,
|
display_rotation: Optional["int"] = None,
|
||||||
passphrase_always_on_device: Optional["bool"] = None,
|
passphrase_always_on_device: Optional["bool"] = None,
|
||||||
@ -3188,6 +3196,7 @@ class ApplySettings(protobuf.MessageType):
|
|||||||
self.label = label
|
self.label = label
|
||||||
self.use_passphrase = use_passphrase
|
self.use_passphrase = use_passphrase
|
||||||
self.homescreen = homescreen
|
self.homescreen = homescreen
|
||||||
|
self._passphrase_source = _passphrase_source
|
||||||
self.auto_lock_delay_ms = auto_lock_delay_ms
|
self.auto_lock_delay_ms = auto_lock_delay_ms
|
||||||
self.display_rotation = display_rotation
|
self.display_rotation = display_rotation
|
||||||
self.passphrase_always_on_device = passphrase_always_on_device
|
self.passphrase_always_on_device = passphrase_always_on_device
|
||||||
|
Loading…
Reference in New Issue
Block a user