protob: add PassphraseRequest.on_device and PassphraseRequest.state

pull/41/head
Pavol Rusnak 6 years ago
parent c7dcca60c7
commit b9f2a1c27f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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…
Cancel
Save