Eth 2.0 Key Generation: Tails Live USB
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide demonstrates how to generate Eth 2.0 validator keys using Tails to boot from USB.
Prymont is the current Eth2 testnet. See here for my , or follow one of Somer Esat's:
Ethereum 2.0 is experimental software. Staking is inherently risky. Generating keys is risky. I am not an expert. This guide should not be relied upon for any mainnet transactions.
Tails, or The Amnesic Incognito Live System, is a security focuses OS aimed at preserving privacy and anonymity. Tails has a few characteristics that make it ideal for Eth 2.0 key generation:
Designed to be booted as a live USB (secure boot from any computer)
Leaves no digital footprint on the machine unless explicitly told to do so.
Ability to disable all networking capabilities on boot screen
All its incoming and outgoing connections are forced to go through Tor
This guide focuses creating a secure desktop environment for key generation. There are thousands of different aspects of security that this guide will not address.
eth2.0-deposit-cli
Key GeneratorPlease be sure you are using the official Ethereum Foundation GitHub account.
startup disk creator
and click the icon: Make Startup Disk
:The USB will be completely wiped, be sure to back up any important data!
Congratulations, You have successfully created a Tails secure boot USB!
Physically unplug all modems, routers, and Ethernet cables. Make sure you never turn on WIFI or any networking capabilities. It should be IMPOSSIBLE to connect to the internet.
Ideally you would use a new computer that has never connected to the internet, but it is generally safe to use a personal computer that is virus free and air-gapped
Begin with the computer powered down
Plug the Tails live USB into the computer
Start the computer and continually press F-10
until you enter one-time boot menu
Choose the Tails USB in the boot menu
This screen is GRUB for Ubuntu, but tails should look similar:
eth2.0-deposit-cli
Home
in the top left, then click Extract
Show the Files
/home/amnesia
foldereth2.0-deposit-cli
eth2.0-deposit-cli
ls
to check folder contents./deposit new-mnemonic
The 24 word mnemonic seed is necessary to withdraw your staked Eth. Without the seed, you will be unable to transfer/withdraw and your Eth will be lost forever.
You need enough copies in case of disaster (fire, flood, theft), but additional copies increases chances of falling into the wrong hands. If someone finds your mnemonic, they get your Eth.
clear
to clear the terminal window:/home/eth2.0-deposit-cli
directory:Files can be found at:/home/amnesia/eth2.0-deposit-cli/validator_keys
deposit_data-[timestamp].json
contains data used to register your validator on the Eth2 launchpad
keystore -[timestamp].json
validator keystore file protected by password (aka validator signing key)
The mnemonic seed (24 words) is used to create the keystore file and withdrawal signatures.
deposit_data
json filekeystore
filedeposit_data
and keystore
validator_keys
folder is saved on the USB:You can test your newly generated keys using the Launchpad and following one of these Eth2 guides:
You'll need a PC or server running and 2 USB memory sticks.
Remember that a is probably be your biggest security threat.
Confirm that the checksum matches the one found on the
A bank security box is useful in preventing the
Be sure to join the if you run in to any issues when trying to stake!