I'm used ./geth command line for create address with command

./geth account new

and put password.

and after that system create keystore file.

  1. how to decrypt keystore file with my password for get privacy key with linux command line.
  2. i don't want to use myetherwallet.com

thank you for advanced.


This can be done with web3py in python.

with open('path to you keyfile') as keyfile:
    encrypted_key = keyfile.read()
    private_key = w3.eth.account.decrypt(encrypted_key, 'your keyfile password')

Hope this helps

Not the answer you're looking for? Browse other questions tagged or ask your own question.