1
0
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:
Pavol Rusnak 2018-02-14 18:13:18 +01:00
parent c7dcca60c7
commit b9f2a1c27f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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
}
/**