From 85d98f298938505a823fd8536d1b718d84ba4325 Mon Sep 17 00:00:00 2001 From: slush0 Date: Mon, 3 Feb 2014 11:36:56 +0100 Subject: [PATCH] Updated warning --- mnemonic_check.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mnemonic_check.py b/mnemonic_check.py index 740bced..858b606 100755 --- a/mnemonic_check.py +++ b/mnemonic_check.py @@ -1,13 +1,14 @@ #!/usr/bin/python -''' +__doc__ = ''' Use this script to cross-check that TREZOR generated valid mnemonic sentence for given internal (TREZOR-generated) and external (computer-generated) entropy. Keep in mind that you're entering secret information to this script. - Hijacking of these information may lead to stealing your bitcoins + Leaking of these information may lead to stealing your bitcoins from your wallet! We strongly recommend to run this script only on - offline computer (ideally live linux distribution without internet connection). + highly secured computer (ideally live linux distribution + without an internet connection). ''' import binascii @@ -43,6 +44,8 @@ def generate_entropy(strength, internal_entropy, external_entropy): return entropy_stripped def main(): + print __doc__ + comp = binascii.unhexlify(raw_input("Please enter computer-generated entropy (in hex): ").strip()) trzr = binascii.unhexlify(raw_input("Please enter TREZOR-generated entropy (in hex): ").strip()) word_count = int(raw_input("How many words your mnemonic has? "))