Prysm: Validator Key path issue

Created on 15 Apr 2020  路  6Comments  路  Source: prysmaticlabs/prysm

MacOs

After creating keys with: ./prysm.sh validator accounts create --keystore-path=$HOME/validator --password=changeme

running: ./prysm.sh validator --password=changeme does not work.
There is a path issue and the path flag is required.

Works fine this way:
./prysm.sh validator --password=changeme --keystore-path=$HOME/validator

Most helpful comment

I think this might be an inconsistency in the scripts.

To replicate:

  1. I follow this: https://prylabs.net/participate
  2. At step 3, I generate a keystore in $HOME/validator, and transaction data for the deposit contract ending 27962e
  3. At step 4, I run ./prysm.sh validator --password=changeme which appears to generate another keystore at $HOME/eth2validators, and transaction data for the deposit contract ending 35dd64.

Seems like there is a default location for keystore ($HOME/.eth2validator), and the suggestion to use --keystore-path=$HOME/**validator** when running ./prysm.sh validator accounts create is different from this default.

All 6 comments

I think this might be an inconsistency in the scripts.

To replicate:

  1. I follow this: https://prylabs.net/participate
  2. At step 3, I generate a keystore in $HOME/validator, and transaction data for the deposit contract ending 27962e
  3. At step 4, I run ./prysm.sh validator --password=changeme which appears to generate another keystore at $HOME/eth2validators, and transaction data for the deposit contract ending 35dd64.

Seems like there is a default location for keystore ($HOME/.eth2validator), and the suggestion to use --keystore-path=$HOME/**validator** when running ./prysm.sh validator accounts create is different from this default.

this worked for me, thanks

rm -rf $HOME/validator
./prysm.sh validator accounts create --keystore-path=$HOME/validator --password=changeme
./prysm.sh validator --password=changeme --keystore-path=$HOME/validator

couldn't find a good reference, but its generally a bad idea to put passwords in cli args (they appear in bash history)

@farazdagi im not sure where the repo for https://prylabs.net/participate is, but it should be updated to match the new interface

@kumavis that repo can be found at https://github.com/prysmaticlabs/prysm-testnet-site

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jrhea picture jrhea  路  4Comments

prestonvanloon picture prestonvanloon  路  3Comments

nisdas picture nisdas  路  4Comments

banescusebi picture banescusebi  路  4Comments

prestonvanloon picture prestonvanloon  路  3Comments