How to Change your EOS Public and Private Keys

Several people in the community may wish to change their keys from time to time. Most urgently they have been compromised, in other cases you are changing permission structure, or to prevent the exploit of one private key compromising many accounts.

Whatever the reason we developed the Permission Management feature of eostoolkit.io to make this as easy as possible.

The process

This process uses Scatter and eostoolkit.io

Step 1. Configure scatter with your existing key

Open scatter and go to Keypairs

Screen Shot 2018-06-21 at 10.48.26 am.png

Paste your private key and give it a name. Click Save.

Screen Shot 2018-06-21 at 10.49.04 am.png

Confirm the keypair is there

Screen Shot 2018-06-21 at 10.49.46 am.png

Now go to identities

Screen Shot 2018-06-21 at 10.49.56 am.png

If you have no identities click “Create Identity” otherwise click “New”

Screen Shot 2018-06-21 at 10.50.03 am.png

Select the EOS Mainnet and your keypair. Click Import

Screen Shot 2018-06-21 at 10.50.13 am.png

If you want to change your owner key select youraccount@owner

Screen Shot 2018-06-21 at 10.50.22 am.png

Confirm your new identity

Screen Shot 2018-06-21 at 10.51.24 am.png

Step 2. Go to eostoolkit.io

Screen Shot 2018-06-21 at 10.51.34 am.png

Lets confirm the account is using our old keys. Use the account search and enter your account name and click Search

Screen Shot 2018-06-21 at 10.51.48 am.png

Scroll down and find the permissions json. The active and owner key should match the one you loaded in Scatter.

Screen Shot 2018-06-21 at 10.52.05 am.png

Attach the scatter identity you created

Screen Shot 2018-06-21 at 11.21.19 am.png

Select the correct identity

Screen Shot 2018-06-21 at 10.52.18 am.png

Step 3: Go to permissions tools

Select the Manage Account drop down and go to Manage Permissions

Screen Shot 2018-06-21 at 10.52.32 am.png

Step 4: Create a new safe key pair (optional)

You can use an offline key generator, an existing safe keypair that you already have, or follow these instructions to use Scatter.

Screen Shot 2018-06-21 at 10.48.26 am.png

Create new key:

  • Provide a name
  • click Generate Key Pair
  • immediately click Copy
  • and then click Save.

Immediately paste your new keypair and store it securely:

  • Engraved titanium
  • Laminated paper in a fireproof safe
  • Ledger/trezor once supported
  • Keepass

Once a keypair is loaded into Scatter it CAN NOT be recovered due to encryption and security
Screen Shot 2018-06-21 at 10.53.03 am.png

Confirm your key has been added to Scatter

Screen Shot 2018-06-21 at 10.53.21 am.png

Step 5: Update the keys!

Enter your new public key (or keys) into the appropriate fields on the eostoolkit.io and click Update

Screen Shot 2018-06-21 at 10.53.36 am.png

A pop up will appear… Scatter is taking a moment to sign the transaction and download ricardian contracts.

Screen Shot 2018-06-21 at 10.53.53 am.png

Scatter will appear for you to validate the transaction

Screen Shot 2018-06-21 at 10.54.03 am.png
SCROLL AND CONFIRM THAT THE KEYS ARE RIGHT

Active key:

Screen Shot 2018-06-21 at 10.54.14 am.png

Owner Key:

Screen Shot 2018-06-21 at 10.54.26 am.png

Click Accept and hopefully…

Note: If you get an error that there is not enough resources for this transaction, you need to stake or delegate more NET and CPU
Screen Shot 2018-06-21 at 10.54.34 am.png

Step 6: Let’s confirm!

You can take the TX Id from the success message and put it into a tracker such as eostracker.io
You can also lookup your account again. You must click Search again if your name is still there.
Screen Shot 2018-06-21 at 10.55.46 am.png

Verify that the keys have changed

Screen Shot 2018-06-21 at 10.55.58 am.png

Success!

Step 7: Update Scatter

Lets go to our identities

Screen Shot 2018-06-21 at 10.49.56 am.png

Click the Pencil button

Screen Shot 2018-06-21 at 10.56.32 am.png

Click your EOS account name

Screen Shot 2018-06-21 at 10.56.49 am.png

Click Yes

Screen Shot 2018-06-21 at 10.56.55 am.png

Now select your new key from the dropdown and click Import

Screen Shot 2018-06-21 at 10.57.02 am.png

Select youraccount@active for future transactions.

Don’t forget to click Save once your done
Screen Shot 2018-06-21 at 10.57.13 am.png

All finished!

Stay safe out there!

We hope this tutorial helps keep everyone safe.
Remember that this information helps the phisher or hacker too, so please act quickly!
Never share your private key online or with untrusted tools.