Skip to content
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

The problem with parentheses in the password (Special characters) is very severe #28

Closed
eferbarn opened this issue Dec 19, 2023 · 4 comments · Fixed by #41
Closed

The problem with parentheses in the password (Special characters) is very severe #28

eferbarn opened this issue Dec 19, 2023 · 4 comments · Fixed by #41
Assignees
Labels
bug Something isn't working p0 critical

Comments

@eferbarn
Copy link

eferbarn commented Dec 19, 2023

We have talked about the problem with frogeth in this issue.
I've tried almost everything to resolve it. The issue with parentheses seems to be a severe problem.

I also tried this trick:

PARENTHESIS="("
NODE_ECDSA_KEY_PASSWORD=something${PARENTHESIS}
NODE_BLS_KEY_PASSWORD=something${PARENTHESIS}else

test.sh:

. ./.env
echo $NODE_ECDSA_KEY_PASSWORD
$ chmod +x test.sh
$ ./test.sh
something(

Everything seems ok, but the problem is still there.
Error: failed to read or decrypt the BLS private key: could not decrypt key with the given password

Message on Discord

Problem

Tasks

Preview Give feedback
No tasks being tracked yet.
@shrimalmadhur
Copy link
Contributor

Thanks for reporting this issue. I will try to look into what is happening. I am wondering if there's an issue with how docker-compose file reads the password with parentheses and try to find this issue out.

@shrimalmadhur shrimalmadhur added bug Something isn't working p0 critical labels Dec 19, 2023
@shrimalmadhur shrimalmadhur self-assigned this Dec 19, 2023
@shrimalmadhur
Copy link
Contributor

@eferbarn Have you tried single quotes around password with special characters? Looking at this issue - docker/compose#8607
maybe worth trying and see if it resolves. I will also try on my side when I have some cycles.

@eferbarn
Copy link
Author

Yes! I tried lots of solutions. They didn't work at all! Assume that my password is blah(blah!
I tried all of these potential solutions:

  • "blah(blah"
  • 'blah(blah'
  • blah\(blah

Finally, I just used these commands to change my passwords:

  1. $ cd .eigenlayer/operator_keys
  2. $ rm <keyname>.bls.key.json
  3. $ rm <keyname>.ecdsa.key.json
  4. $ ./eigenlayer operator keys import --key-type ecdsa <name> <ecdsa_private_key>
  5. $ ./eigenlayer operator keys import --key-type bls <name> <bls_private_key>

@shrimalmadhur
Copy link
Contributor

Thanks for checking. this is weird. I will dig deeper into it as I think it's important to support any passwords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p0 critical
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants