New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keymanager passphrase with special characters cannot be parsed #4686
Comments
Can you try this with:
|
@mcdee thanks for the reply. In such case I'm getting:
|
Please could you paste your entire command line? I just double-checked and the above works on my local machine. |
Hi @mcdee , - name: validator
image: "gcr.io/prysmaticlabs/prysm/validator:latest"
imagePullPolicy: Always
args:
- --monitoring-port=9090
- --datadir=/data
- --keymanager=keystore
- --keymanageropts="{'path':'/etc/validators','passphrase':\"$(KEYSTORE_PASSWORD)\"}"
env:
- name: KEYSTORE_PASSWORD
value: "some_long_and_complex_password" @prestonvanloon did you manage to pass those parameters inside your deployment files? |
The keymanager options need to be JSON so single quotes around strings won't work. Possibly something like:
could do the trick, although it depends on how yaml files treat quotes. If not, there's a patch #4687 that has yet to be merged but when it has it will allow you to specify a path in keymanageropts instead; this may be a better long-term solution for you. |
Closing for now unless @tsudmi still has failures with the suggested solutions |
I'm passing keystore parameters to the validator in the following way:
When I start the validator, I get the following output:
Latest commit:
3e9bf58d81a986881de9d2d0fcbe565b3fe83ef2
The text was updated successfully, but these errors were encountered: