[Ethereum] How to get the raw private key from the Mist keystore file

exportkeystoremistprivate-key

I use the Mist wallet.

I would like to know:

  • How I can get the private key of my account.
  • How I can use this private key to sign messages.

Best Answer

You can use MyEtherWallet or MyCrypto(fork of MyEtherWallet) offline only wallet "view wallet details" function to extract private key from wallet json file. Feel free to use its offline version on an air gapped computer to secure your private key.

Edit: MyCrypto only provides this function in the offline version of the wallet now for obvious security issues of getting a private key from an internet site on a connected computer. So you are warned that you should only do that on an air-gaped computer.