-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blockchain.info wallet import #25
Conversation
Hello Ben, Before I do my MultiBit releases I have a little check list that I go I test them on my Mac and an Ubuntu + Win XP virtual machines. Anyhow, the blockchain.info wallet imports worked fine on MacOS and http://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters It is these JCE imports in MyWallet that trigger it: Bloody stupid those JCE policy files. I wondered if you would be interested in doing the same in your MyWallet I don't really want to start copying around those JCE policy files as it Anyhow, let me know what you think. Regards, Jim http://multibit.org Money, reinvented |
Jim, Damn sorry I missed this, I forgot I had already modified the policy files on my local machine. I had a look at EncrypterDecrypter but can't quite get it working correctly with bouncycastle:
throws the Exception "pad block corrupted". I'm not sure whether "ISO10126d2" padding differs from "ISO10126". Any ideas? Also i'm not sure if the following might be a suitable workaround.
Sorry for delaying the release. Cheers, On 23 Apr 2012, at 16:45, Jim Burton wrote:
|
Hi Ben, No problem about the delay - I appreciate you will want to make sure it Yes, those policy files are something you copy and then forget all It will definitely be worth removing the javax.crypto as now with your On a different tangent - I have blocked the next month or two for I am hoping to get them into bitcoinj directly, though it is hard work I know Alan has pretty much done HD wallets in Armory so when they To have fully interoperable deterministic wallets across pretty much Jim
|
Jim, Could you give the following patch a quick test: https://github.com/zootreeves/multibit/commit/614b9c91bf7c8b74fd5c59e47b701b6aabfe3832 I tried it with the test wallets and my own wallet and the padding appears to be fine. But it still uses javax.crypto for PBKDF2 but i'm don't that that is subjected to the key size limitations. I'm not sure about deterministic wallets, I need to look at the spec in more detail. Thanks, On 24 Apr 2012, at 11:52, Jim Burton wrote:
|
Thanks Ben, I will have a look at that this evening and try it out. Regards, Jim On 24 Apr 2012, at 13:19, Ben Reeves reply@reply.github.com wrote:
|
Hi Ben, I just copied that patch into multibit and built it. I am busy with something else tomorrow but will aim to get it released Cheers, Jim On Tue, Apr 24, 2012, at 05:19 AM, Ben Reeves wrote:
|
Awesome, thanks Jim. On 24 Apr 2012, at 18:58, Jim Burton wrote:
|
Hello Ben, I have just been trying out yout iPhone blockchain.info wallet. It is excellent! With the option to scan a QR code I tried it out with the zoomed QR codes MultiBit produces. It scanned it fine but I noticed that you did not reuse the 'label' field, only the address and amount. When it asked if I wanted to save it to the address book I had to type in the label again - you could prepopulate the field with the bitcoin URI value to save the user having to retype. (note: I URI encode my labels to take account of spaces and non - ASCII characters etc - the spec is a bit woolly on this - but it seemed the sensible thing to do). I expect you are pretty busy what with the extra Forbes publicity but I wanted to mention it. Cheers, Jim |
Added the ability to import .aes.json and .json backups from blockchain.info. It requires json-simple (http://code.google.com/p/json-simple/) as a dependancy.
Hopefully should be useful for both multi bit and blcockhain.info users.
The patch might have made unnecessary changes to the eclipse project, i'm not sure how to revert to the original file.
Thanks,
Ben