1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00
trezor-firmware/protob/storage.proto
2013-11-26 15:48:17 +01:00

23 lines
423 B
Protocol Buffer

/*
Structure of Storage area of TREZOR
Author: Marek Palatinus <slush@satoshilabs.com>
Version: 0.1
*/
import "types.proto";
message Storage {
required uint32 version = 1;
optional HDNodeType seed = 2;
optional bool seed_encrypted = 3;
optional uint32 pin_failed_attempts = 4;
optional bytes pin = 5;
optional SettingsType settings = 6;
}
message Session {
optional bytes passphrase = 1 [(binary) = true];
}