MultiversX Tracker is Live!

How To Open Encrypted JSON Key Files

Etherum Reddit

More / Etherum Reddit 63 Views

How To Open Encrypted JSON Key Files

I see a ton of questions about how to open encrypted json keyfiles, so I thought I would just put this here. I am going to do this the "old school" way and show you how to open these files using tools built by Ethereum foundation themselves. This means you do not have to trust me or anyone in any way other than the people who actually built Ethereum. This is the safest way to open these files. Once you do this set of operations, you will get the private key itself that you can drop into whatever wallet you want.

First, you need to have GoLang ( a programming language ) installed. In order to install GoLang go to this website:
https://go.dev/doc/install

Follow the directions there and you will now have GoLang working on your machine. This is the programming language the Geth Ethereum node software is written in.

Next you need to download the Geth github repo. This is the actual Go-Ethereum node software that lets you run an Ethereum node, but we are not going to run the node itself. Instead we are going to run a tool that is part of the git repo, so you need to download the whole repo. You can do this by going here:
https://github.com/ethereum/go-ethereum

https://preview.redd.it/ny1h8s41fv1e1.png?1264&format=png&auto=webp&s=b7f96c788e3e24a3f2c54af4324ae4f52938addb

Once you go there click on the Green Button that says "Code", then click on "HTTPS" and then click download zip.

Once you have downloaded the zip file, you can unzip it.

Now open a terminal and navigate to the `/cmd` directory from the unzipped source code. The sub directories should look something like this:

https://preview.redd.it/qcgterzhfv1e1.png?1339&format=png&auto=webp&s=779e7404920c6caf8bba03db0174fb30f08a2733

What we want it the `ethkey` sub directory. So navigate there in your terminal.

Once there you can type the following to build the program and run it in the local directory:
`go run .`

You should now see the help page for the utility and it should look something like this:

https://preview.redd.it/u5dun6h5iv1e1.png?835&format=png&auto=webp&s=5c2fc97bd96dc948aeb06213ebed6b065b66312f

Now copy your keyfile into the same directory as `/cmd/ethkey` and type in the following:

`go run . inspect --private keyfile.json`

Make sure you make the `keyfile.json` part of the command is the name of your keyfile. This will generate an output like this ( this is a burner account so don't bother trying to go dump it ):

https://preview.redd.it/6834q6x5jv1e1.png?1198&format=png&auto=webp&s=0fd7446880107ec8117469fe301e3bc1074e9390

The line that says `Private key:` is your private key. You can copy and paste this into Metamask or whatever.

Feel free to reach out if you have questions.

submitted by /u/AugmentedTrashMonkey
[link] [comments]

Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments