1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-17 01:52:02 +00:00

add ApplySettings.passphrase_source

This commit is contained in:
Pavol Rusnak 2018-03-12 14:50:20 +01:00
parent 7e61f37038
commit 998eb4c7a7
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 11 additions and 0 deletions

View File

@ -173,6 +173,7 @@ message ApplySettings {
optional string label = 2;
optional bool use_passphrase = 3;
optional bytes homescreen = 4;
optional PassphraseSourceType passphrase_source = 5;
}
/**

View File

@ -283,6 +283,16 @@ message IdentityType {
optional uint32 index = 6 [default=0]; // identity index
}
/**
* Structure representing passphrase source
* @used_in ApplySettings
*/
enum PassphraseSourceType {
ASK = 0;
DEVICE = 1;
HOST = 2;
}
/**
* Structure representing the common part for NEM transactions
* @used_in NEMSignTx