-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
External accound binding fails with error "invalid key size for algorithm" #2142
Comments
Hello, do you have something to help me to reproduce the problem? (a stack with your ACME server) |
Server side is acme2certifier. This is my project and I am using lego during regular regression. I can setup a test-environment if needed. /G |
If you can provide a test environment, it will help me a lot. |
here we go. Try "http://acme-eab.dynamop.de"
Pls use kid "keyid_02" and hmac "bWFjXzAy". docker run -i -v $PWD/lego:/.lego/ --rm --name lego goacme/lego:v4.15.0 -s http://acme-eab.dynamop.de/ -a --email "lego@example.com" -eab --kid keyid_02 --hmac bWFjXzAy -d lego.bar.local --http run works without issues while docker run -i -v $PWD/lego:/.lego/ --rm --name lego goacme/lego -s http://acme-eab.dynamop.de/ -a --email "lego@example.com" --eab --kid keyid_02 --hmac bWFjXzAy -d lego.bar.local --http run fails with the above mentioned error |
It's because your hmac is too short (48 bits), it must be >= 256 bits
Related to go-jose/go-jose#85 |
Thank you for your help. I increased the key-size and it works without problems. I am closing this issue. |
Welcome
What did you expect to see?
after upgrading to v4.16.1 registration on my private acme-server fails with the below error
there is no communication with the acme-server at all.
Do you have an idea what is going wrong and how fix this?
What did you see instead?
on v4.15.0 registration using the same credentials runs fine:
How do you use lego?
Docker image
Reproduction steps
see the above commands...
Version of lego
Logs
see above
Go environment (if applicable)
docker image
The text was updated successfully, but these errors were encountered: