1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

cosmetic changes

This commit is contained in:
Pavol Rusnak 2014-03-23 19:45:25 +01:00
parent bfcc001fd2
commit df45b3cf06
2 changed files with 15 additions and 15 deletions

View File

@ -6,24 +6,24 @@
import "google/protobuf/descriptor.proto";
message DeviceDescriptor {
optional uint32 vendor_id = 1;
optional uint32 product_id = 2;
optional bytes serial_number = 3;
optional bytes path = 4;
optional uint32 vendor_id = 1;
optional uint32 product_id = 2;
optional bytes serial_number = 3;
optional bytes path = 4;
}
message Configuration {
// regexes of allowed/forbidden urls
repeated bytes whitelist_urls = 1;
repeated bytes blacklist_urls = 2;
// regexes of allowed/forbidden urls
repeated bytes whitelist_urls = 1;
repeated bytes blacklist_urls = 2;
// compiled specification of the wire protocol, serialized
// FileDescriptorSet can be generated with `protoc -o`
required google.protobuf.FileDescriptorSet wire_protocol = 3;
// compiled specification of the wire protocol, serialized
// FileDescriptorSet can be generated with `protoc -o`
required google.protobuf.FileDescriptorSet wire_protocol = 3;
// descriptors of allowed devices
repeated DeviceDescriptor known_devices = 4;
// descriptors of allowed devices
repeated DeviceDescriptor known_devices = 4;
// timestamp of expiration
optional int32 valid_until = 5;
// timestamp of expiration
optional uint32 valid_until = 5;
}

View File

@ -80,7 +80,7 @@ message Features {
optional string vendor = 1; // Name of the manufacturer, e.g. "bitcointrezor.com"
optional uint32 major_version = 2; // Major version of the device, e.g. 1
optional uint32 minor_version = 3; // Minor version of the device, e.g. 0
optional uint32 bugfix_version = 4;
optional uint32 patch_version = 4; // Patch version of the device, e.g. 0
optional bool bootloader_mode = 5;
optional string device_id = 6; // Device's unique identifier
optional bool pin_protection = 7; // True if Trezor is covered by PIN