Skip to content

Add eab key example that enforces base64url#428

Closed
j0ru wants to merge 1 commit into
letsencrypt:mainfrom
j0ru:patch-1
Closed

Add eab key example that enforces base64url#428
j0ru wants to merge 1 commit into
letsencrypt:mainfrom
j0ru:patch-1

Conversation

@j0ru

@j0ru j0ru commented Jan 18, 2024

Copy link
Copy Markdown
Contributor

The acme rfc states that clients should interpret supplied eab keys as base64url. To encourage that behavior, this commit adds a key to the example configuration that is only decodable by base64url.

The acme rfc states that clients should interpret supplied eab keys as
base64url. To encourage that behaviour, this commit adds a key to the
example configuration that is only decodable by base64url.
@mcpherrinm

mcpherrinm commented May 1, 2024

Copy link
Copy Markdown
Contributor

pulled into #459 to use in EAB integration test

@mcpherrinm mcpherrinm closed this May 1, 2024
mcpherrinm added a commit that referenced this pull request May 1, 2024
During the go-jose/v4 upgrade, I accidentally required the same
signature sets for EAB as for the account keys, which is incorrect. This
allows the correct MAC-based algorithms. It drops the custom algorithm
checks, which are now unreachable as go-jose will enforce the
algorithms.

This also adds a new EAB key to Pebble's test config which explicitly
has base64url characters, from #428 

Fixes #455

---------

Co-authored-by: Folke Gleumes <folke@gleumes.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants