From b9f2a1c27fc16f4a33934ef0816a05c834416436 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 14 Feb 2018 18:13:18 +0100 Subject: [PATCH] protob: add PassphraseRequest.on_device and PassphraseRequest.state --- protob/messages.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protob/messages.proto b/protob/messages.proto index 5814537d7..efa88cca1 100644 --- a/protob/messages.proto +++ b/protob/messages.proto @@ -108,7 +108,7 @@ enum MessageType { * @next Features */ message Initialize { - optional bytes state = 1; // assumed device state + optional bytes state = 1; // assumed device state, clear session if set and different } /** @@ -267,6 +267,7 @@ message Cancel { * @next Cancel */ message PassphraseRequest { + optional bool on_device = 1; // passphrase is being entered on the device } /** @@ -275,6 +276,7 @@ message PassphraseRequest { */ message PassphraseAck { required string passphrase = 1; + optional bytes state = 2; // assumed device state, throw error if set and different } /**