Skip to content

Commit

Permalink
warning against redeem private key services
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasv committed Oct 2, 2012
1 parent e7e9e89 commit ad3be71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions electrum
Expand Up @@ -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
Expand Down

0 comments on commit ad3be71

Please sign in to comment.