Closed ismaelbej closed 7 years ago
Thanks for the heads-up. Should be fixed in 938514e8ce08bac6a76f966116e7aa3be508c00b -- I don't have a Windows machine handy to test this, so just re-open this issue if it happens again.
I've tried with the new version and the issue was fixed, now export works correctly under Windows.
The source is very simple
keythereum.exportToFile(keyObject, './blockchain/keystore');
The cause is the use of the character ':' in the filename. There is a list of invalid characters in filenames under Windows Naming conventions.
The workaround used by geth is to replace ':' with '-'.
Otherwise the code works without problems under linux.