mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-27 18:32:34 +00:00
protob: add PassphraseRequest.on_device and PassphraseRequest.state
This commit is contained in:
parent
c7dcca60c7
commit
b9f2a1c27f
@ -108,7 +108,7 @@ enum MessageType {
|
|||||||
* @next Features
|
* @next Features
|
||||||
*/
|
*/
|
||||||
message Initialize {
|
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
|
* @next Cancel
|
||||||
*/
|
*/
|
||||||
message PassphraseRequest {
|
message PassphraseRequest {
|
||||||
|
optional bool on_device = 1; // passphrase is being entered on the device
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -275,6 +276,7 @@ message PassphraseRequest {
|
|||||||
*/
|
*/
|
||||||
message PassphraseAck {
|
message PassphraseAck {
|
||||||
required string passphrase = 1;
|
required string passphrase = 1;
|
||||||
|
optional bytes state = 2; // assumed device state, throw error if set and different
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user