Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 20 Nov 2020 10:08:34 +0100
From: Antonio Rossi <>
Subject: does not work with ledger or trezor encrypted wallet files?

I'm testing the script '' with wallet files created in
Electrum and passphrase encrypted either with a Ledger or a Trezor
hardware wallet but I get this kind or errors:

Traceback (most recent call last):
  File "./", line 42, in <module>
    wallet = ast.literal_eval(open(wallet_filename).read(64 * 2**20))
# up to 64M, typical size is a few k
  File "/usr/lib/python3.6/", line 48, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/lib/python3.6/", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
(content of the original wallet file follows and it is omitted)

I tested the same script with other wallet files created without any
hardware wallet and it works perfectly however.

So the question is, does '' work only with wallet
files created in electrum without involving hardware like a trezor or

Antonio Rossi
Telegram: @antoniorossi

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.