You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pebble before 2.5 used to support HS256 with EAB. Now, only RS256 and EC seem supported. Is there any description how to use an RSA key for EAB with pebble?
I'd prefer continue using HS256 in my test suite for Apache since that seems to be in use at several CAs still. I appreciated that you want to be on the bleeding edge here, but for testing purposes this seem to be a step back.
When testing with certbot main and latest pebble running in docker with the EAB config, I get the reported failure. (Technically you'll need to volume mount - ./test/config:/test/config to work around the container not having the EAB config inside it.)
That seems like my fault during the go-jose v4 upgrade with supported algorithms. It should be straightforward to fix. I’m out today but I can do that this week.
RFC 8555 says about EAB in 7.3.4: The "alg" field MUST indicate a MAC-based algorithm, so the current set of algorithms in Pebble (ES*, RS*) is straightforwardly incorrect
I guess that mean the fix is a bit more involved than adding jose.HS256 to goodJWSSignatureAlgorithms then (ie not fixable by someone with limited knowledge about JWS like me).
Would you happen to know ressources that explain how to generate new kid with a supported algorithm ?
Yes, we will tag a new release soon. There’s a few other changes in progress I’d like to get in, such as the ARI PR, and a few docker container changes. That should all be done in the next week or two.
Activity
pgporada commentedon Apr 8, 2024
When testing with certbot main and latest pebble running in docker with the EAB config, I get the reported failure. (Technically you'll need to volume mount
- ./test/config:/test/configto work around the container not having the EAB config inside it.)mcpherrinm commentedon Apr 8, 2024
That seems like my fault during the go-jose v4 upgrade with supported algorithms. It should be straightforward to fix. I’m out today but I can do that this week.
mcpherrinm commentedon Apr 9, 2024
RFC 8555 says about EAB in 7.3.4:
The "alg" field MUST indicate a MAC-based algorithm, so the current set of algorithms in Pebble (ES*, RS*) is straightforwardly incorrectbuchdag commentedon May 1, 2024
Hi.
Is there a planned fix for this, or instruction on how to generate and use suitable keys ?
mcpherrinm commentedon May 1, 2024
yes, but there’s several other higher priority things we’re working on elsewhere. It’ll get fixed soon.
buchdag commentedon May 1, 2024
I guess that mean the fix is a bit more involved than adding
jose.HS256togoodJWSSignatureAlgorithmsthen (ie not fixable by someone with limited knowledge about JWS like me).Would you happen to know ressources that explain how to generate new kid with a supported algorithm ?
mcpherrinm commentedon May 1, 2024
It's not quite that simple, but not much more complicated either.
Fix PR opened - #459
The big thing I need is a test still, as this functionality was clearly broken.
mcpherrinm commentedon May 1, 2024
OK, writing an integration test was actually not that bad, so it's done now :)
We'll tag a new release with this fix, too.
buchdag commentedon May 1, 2024
Thanks for the fast fix @mcpherrinm 🙏
Require HS256, HS384, or HS512 for EAB (letsencrypt#459)
buchdag commentedon May 14, 2024
@mcpherrinm do you think a new tagged release that include the fix could be possible ?
mcpherrinm commentedon May 14, 2024
Yes, we will tag a new release soon. There’s a few other changes in progress I’d like to get in, such as the ARI PR, and a few docker container changes. That should all be done in the next week or two.
mcpherrinm commentedon May 23, 2024
I pushed a v2.5.2 tag now. We will do another release with ARI etc later.