diff --git a/src/trezor/messages/PassphraseAck.py b/src/trezor/messages/PassphraseAck.py index c876aebc1e..3e865a0463 100644 --- a/src/trezor/messages/PassphraseAck.py +++ b/src/trezor/messages/PassphraseAck.py @@ -5,5 +5,6 @@ import protobuf as p class PassphraseAck(p.MessageType): FIELDS = { 1: ('passphrase', p.UnicodeType, 0), # required + 2: ('state', p.BytesType, 0), } MESSAGE_WIRE_TYPE = 42 diff --git a/src/trezor/messages/PassphraseRequest.py b/src/trezor/messages/PassphraseRequest.py index ebbd1fced4..63e4b52e9a 100644 --- a/src/trezor/messages/PassphraseRequest.py +++ b/src/trezor/messages/PassphraseRequest.py @@ -3,4 +3,7 @@ import protobuf as p class PassphraseRequest(p.MessageType): + FIELDS = { + 1: ('on_device', p.BoolType, 0), + } MESSAGE_WIRE_TYPE = 41 diff --git a/vendor/trezor-common b/vendor/trezor-common index c7dcca60c7..b9f2a1c27f 160000 --- a/vendor/trezor-common +++ b/vendor/trezor-common @@ -1 +1 @@ -Subproject commit c7dcca60c724c32ca3a688a6f20a055b0b4b3b1f +Subproject commit b9f2a1c27fc16f4a33934ef0816a05c834416436