mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-22 12:32:02 +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
|
||||
*/
|
||||
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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user