From 2c621ca20fc2d57c6bf6978970a6369448639a15 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 28 Nov 2013 01:05:50 +0100 Subject: [PATCH] use passphrase_protection fields --- protob/messages.proto | 1 + protob/storage.proto | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/protob/messages.proto b/protob/messages.proto index 805a167d4c..cf26a15af6 100644 --- a/protob/messages.proto +++ b/protob/messages.proto @@ -196,6 +196,7 @@ message LoadDevice { optional bytes mnemonic = 1; // Seed encoded as a mnemonic (12 english words) optional HDNodeType node = 2; optional bytes pin = 3; // Set PIN protection for important actions + optional bool passphrase_protection = 4; } // Request device to do full-reset, to generate new seed diff --git a/protob/storage.proto b/protob/storage.proto index f23cb9561e..ae18bd13ba 100644 --- a/protob/storage.proto +++ b/protob/storage.proto @@ -12,7 +12,7 @@ message Storage { required uint32 version = 1; optional bytes node_serialized = 2 [(binary) = true]; optional bytes mnemonic = 3 [(binary) = true]; - optional bool encrypted = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase) + optional bool passphrase_protection = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase) optional uint32 pin_failed_attempts = 5; optional bytes pin = 6; optional bytes language = 7;