Skip to content

Empty account on Mac #795

@lexansoft

Description

@lexansoft

I found the problem with empty account. On Mac if you open a folder in Finder, it creates a hidden file .DS_Store. For some reason geth misinterprets it as an empty key. See bellow.

I think the problem is somewhere around crypto/key_store_plain.go:122

nduserca312:~ alexn$ ls -a ~/Library/Ethereum/keys/
. .DS_Store
.. ccd5b5c052fee58d1489104e2d18d4416bde3969

nduserca312:~ alexn$ geth account list
Welcome to the FRONTIER
Address: {}
Address: {ccd5b5c052fee58d1489104e2d18d4416bde3969}

nduserca312:~ alexn$ rm ~/Library/Ethereum/keys/.DS_Store

nduserca312:~ alexn$ geth account list
Welcome to the FRONTIER
Address: {ccd5b5c052fee58d1489104e2d18d4416bde3969}
nduserca312:~ alexn$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions