mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
warning against redeem private key services
This commit is contained in:
parent
e7e9e8916b
commit
ad3be71ed7
1 changed files with 6 additions and 0 deletions
6
electrum
6
electrum
|
@ -297,6 +297,12 @@ if __name__ == '__main__':
|
||||||
if from_addr not in wallet.all_addresses():
|
if from_addr not in wallet.all_addresses():
|
||||||
is_temporary = True
|
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
|
# commands needing password
|
||||||
if cmd in protected_commands or ( cmd=='addresses' and options.show_keys):
|
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
|
password = prompt_password('Password:', False) if wallet.use_encryption and not is_temporary else None
|
||||||
|
|
Loading…
Add table
Reference in a new issue