Skip to main content
25 events
when toggle format what by license comment
Feb 22, 2013 at 16:12 comment added ripper234 It seems the python script requires Crypto:Cypher, as a python noob it's a bit difficult to install it on Windows. I'm working at it, just a fair warning to newcomers.
Feb 19, 2013 at 12:55 comment added ripper234 How can I easily verify the result of decrypt() is correct? A friend of mine lost his wallet password, I would like to iterate on a lots of potential passwords he might have chosen until I find the right one.
Jun 22, 2012 at 0:27 comment added Andrey Fedorov Yup, sorry 'bout that.
May 20, 2012 at 21:04 comment added Chris Moore So gist.github.com/2757171 is the fixed version.
S May 20, 2012 at 18:00 history suggested Andrey Fedorov CC BY-SA 3.0
Added a note linking to a working version of the code (details in comments)
May 20, 2012 at 15:33 comment added Chris Moore @AndreyFedorov "The Gist you were looking for has been deleted. Sorry about that!"
May 20, 2012 at 7:24 review Suggested edits
S May 20, 2012 at 18:00
May 20, 2012 at 7:15 comment added Andrey Fedorov That code is crap. The mode currently used is CBC. The way he's passing in iterations is also confusing (and not in the original ezcrypto code AFAICT), as that option actually specifies the number of rounds run on PBKDF2 when deriving a key from the password (and it's 10 rounds, always). Here's a working version for the latest format: gist.github.com/2757146
May 10, 2012 at 9:08 history edited Chris Moore CC BY-SA 3.0
make a note that the backup format has changed, breaking this script
May 10, 2012 at 9:07 comment added Chris Moore I get the same now. It looks like the backup format has changed. A quick glance at the source of blockchain.info/DecryptWallet.html shows that it now tries 4 different encryption modes, each with 0 through 19 iterations of AES encryption, which I don't think it used to do.
May 9, 2012 at 6:21 comment added Andrey Fedorov When I try this on my backed up wallet, I get "ValueError: No JSON object could be decoded". I'm new to working with this crypto library, how would you suggest I go about trouble shooting?
Apr 30, 2012 at 15:55 comment added Chris Moore What, code development in stackexchange comments not good enough for ya? ;) Nice work.
Apr 30, 2012 at 14:05 comment added o0'. I added wallet input from file, and I took the liberty to create a project on bitbucket for that: bitbucket.org/lohoris/mywallet-restore
S Apr 19, 2012 at 21:46 history suggested Asim Ihsan CC BY-SA 3.0
Remove text that says the password gets echo'd to screen, because now it doesn't.
Apr 19, 2012 at 21:43 review Suggested edits
S Apr 19, 2012 at 21:46
S Apr 19, 2012 at 17:38 history suggested Asim Ihsan CC BY-SA 3.0
Use environment version of Python. Use getpass rather than echo password to screen.
Apr 19, 2012 at 15:36 review Suggested edits
S Apr 19, 2012 at 17:38
Mar 27, 2012 at 11:05 comment added o0'. Both valid answers now, accepting this one both for the effort and because of python.
Mar 27, 2012 at 11:04 vote accept o0'.
Feb 29, 2012 at 20:20 history edited Chris Moore CC BY-SA 3.0
make it a little shorter
Feb 29, 2012 at 20:11 comment added Chris Moore Now it shows the key in 'sipa' format too.
Feb 29, 2012 at 20:10 history edited Chris Moore CC BY-SA 3.0
show private key in 'sipa' format too
Feb 29, 2012 at 19:07 comment added Chris Moore Note that my script doesn't convert the private key into 'sipa' format, which is what the official bitcoin client will need (v0.6 onwards) to import a private key. The private keys in the decrypted wallet are in base58 format, but not the 'sipa' format, which includes a checksum. I intend to fix my script to convert private keys to 'sipa' format.
Feb 29, 2012 at 10:14 history edited Chris Moore CC BY-SA 3.0
warn that the password is displayed as you type it
Feb 29, 2012 at 10:04 history answered Chris Moore CC BY-SA 3.0