Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Unable to import DAO Wallet into MIST with or without GUI #751

Closed
mruepp opened this issue May 30, 2016 · 6 comments
Closed

Unable to import DAO Wallet into MIST with or without GUI #751

mruepp opened this issue May 30, 2016 · 6 comments

Comments

@mruepp
Copy link

mruepp commented May 30, 2016

Node type: geth/eth
OS: osx
Network type: main/test
Mist version: 0.7.4

OK, here´s a new issue:
What I actually did was I copied the json which was revealed as text (when one clicked on the Download Button after selected "create new eth wallet" on the DAO Website into a txt file and named it presale-wallet.json. Because i never had the option to download the wallet as a file.
This is what happens when I manually import the Presales Wallet from DAO:

Passphrase:
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
panic(0x4a9b5e0, 0xc820012090)
/Users/jeffrey/goroot16/src/runtime/panic.go:464 +0x3e6
github.com/ethereum/go-ethereum/accounts.decryptPreSaleKey(0xc8203f1000, 0x1ea, 0x3ea, 0xc820011560, 0x12, 0x8, 0x0, 0x0)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/accounts/presale.go:56 +0x7b6
github.com/ethereum/go-ethereum/accounts.importPreSaleKey(0xadc9808, 0xc82040e0e0, 0xc8203f1000, 0x1ea, 0x3ea, 0xc820011560, 0x12, 0x0, 0x0, 0x0, ...)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/accounts/presale.go:34 +0x8c
github.com/ethereum/go-ethereum/accounts.(Manager).ImportPreSaleKey(0xc82040ab00, 0xc8203f1000, 0x1ea, 0x3ea, 0xc820011560, 0x12, 0x0, 0x0, 0x0, 0x0, ...)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/accounts/account_manager.go:316 +0xb3
main.importWallet(0xc8203d2f00)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/cmd/geth/accountcmd.go:300 +0x387
github.com/codegangsta/cli.Command.Run(0x4bf2850, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4d08160, 0x1e, 0x0, ...)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:174 +0x1399
github.com/codegangsta/cli.(App).RunAsSubcommand(0xc8203d2c80, 0xc8203d2b40, 0x0, 0x0)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:298 +0x11c9
github.com/codegangsta/cli.Command.startApp(0x4bf7170, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4cb27e0, 0x17, 0x0, ...)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:249 +0x74f
github.com/codegangsta/cli.Command.Run(0x4bf7170, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4cb27e0, 0x17, 0x0, ...)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:65 +0x79
github.com/codegangsta/cli.(*App).Run(0xc8203d2a00, 0xc82000a280, 0x4, 0x4, 0x0, 0x0)
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:187 +0x112b
main.main()
/Users/jeffrey/go/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:266 +0x53
@luclu
Copy link
Contributor

luclu commented May 30, 2016

This looks quite interesting. @bas-vk?
Perhaps related? #714

@frozeman
Copy link
Contributor

@Gustav-Simonsson @fjl any idea?

@bas-vk
Copy link
Member

bas-vk commented Jul 25, 2016

I will take a look at it tomorrow.

@bas-vk
Copy link
Member

bas-vk commented Jul 26, 2016

The used presale wallet is invalid. Geth tries to decrypt the pre-sale key and makes an assumption that one mandatory field (the seed) actually contains 16 bytes of data. In this case it does not.

@mruepp, since this issue was reported month's ago is it still an issue?

@mruepp
Copy link
Author

mruepp commented Jul 26, 2016

No actually bot. By copying into keystore folder it always worked. But not by importing it with the import menu

@mruepp mruepp closed this as completed Jul 26, 2016
@lock
Copy link

lock bot commented Apr 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants