From 8ec0d854b9ca66bcc7f76f8b0dc317d613bb12b9 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 28 Feb 2022 10:15:58 +0000 Subject: [PATCH] Add some text about choosing location of the physical backup. Add TODO for better handling of file not found and permission errors. Signed-off-by: Daira Hopwood --- src/rust/src/wallet_tool.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rust/src/wallet_tool.rs b/src/rust/src/wallet_tool.rs index ba64f681b..7b4e8b1a9 100644 --- a/src/rust/src/wallet_tool.rs +++ b/src/rust/src/wallet_tool.rs @@ -276,6 +276,7 @@ fn run(opts: &CliOptions) -> Result<(), io::Error> { println!("\nSaved the export file to '{}'.", export_path); println!("IMPORTANT: This file contains secrets that allow spending all wallet funds.\n"); + // TODO: better handling of file not found and permission errors. let export_file = File::open(export_path)?; let phrase_line: Vec<_> = io::BufReader::new(export_file) .lines() @@ -504,7 +505,10 @@ fn clear_and_show_cautions(export_path: &str) { "have been left in the file '{}'.\n\n", "Don't forget to restart zcashd without '-exportdir', if running it\n", "long-term with that option is not desired or would be a security\n", - "hazard in your environment." + "hazard in your environment.\n\n", + "When choosing a location for the physical backup of your emergency\n", + "recovery phrase, please make sure to consider both risk of theft,\n", + "and your long-term ability to remember where it is kept." ), export_path, );