From ad3be71ed7178881d8c0706588dfb3b3d573691d Mon Sep 17 00:00:00 2001 From: thomasv Date: Tue, 2 Oct 2012 13:15:10 +0200 Subject: [PATCH] warning against redeem private key services --- electrum | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/electrum b/electrum index 4e42ebb2c..3fce7329d 100755 --- a/electrum +++ b/electrum @@ -297,6 +297,12 @@ if __name__ == '__main__': if from_addr not in wallet.all_addresses(): is_temporary = True + # important warning + if cmd=='addresses' and options.show_keys: + print "WARNING: ALL your private keys are secret." + print "Exposing a single private key can compromise your entire wallet!" + print "In particular, DO NOT use 'redeem private key' services proposed by third parties." + # commands needing password if cmd in protected_commands or ( cmd=='addresses' and options.show_keys): password = prompt_password('Password:', False) if wallet.use_encryption and not is_temporary else None