mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
Updated warning
This commit is contained in:
parent
5a10692e86
commit
85d98f2989
@ -1,13 +1,14 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
'''
|
__doc__ = '''
|
||||||
Use this script to cross-check that TREZOR generated valid
|
Use this script to cross-check that TREZOR generated valid
|
||||||
mnemonic sentence for given internal (TREZOR-generated)
|
mnemonic sentence for given internal (TREZOR-generated)
|
||||||
and external (computer-generated) entropy.
|
and external (computer-generated) entropy.
|
||||||
|
|
||||||
Keep in mind that you're entering secret information to this script.
|
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
|
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
|
import binascii
|
||||||
@ -43,6 +44,8 @@ def generate_entropy(strength, internal_entropy, external_entropy):
|
|||||||
return entropy_stripped
|
return entropy_stripped
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
print __doc__
|
||||||
|
|
||||||
comp = binascii.unhexlify(raw_input("Please enter computer-generated entropy (in hex): ").strip())
|
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())
|
trzr = binascii.unhexlify(raw_input("Please enter TREZOR-generated entropy (in hex): ").strip())
|
||||||
word_count = int(raw_input("How many words your mnemonic has? "))
|
word_count = int(raw_input("How many words your mnemonic has? "))
|
||||||
|
Loading…
Reference in New Issue
Block a user