Skip to content

currectly triggers BadSignatureAlgorithmProblem at JWS parse time#492

Merged
mcpherrinm merged 5 commits into
letsencrypt:mainfrom
orangepizza:parseTimeAlgoCheck
May 7, 2025
Merged

currectly triggers BadSignatureAlgorithmProblem at JWS parse time#492
mcpherrinm merged 5 commits into
letsencrypt:mainfrom
orangepizza:parseTimeAlgoCheck

Conversation

@orangepizza
Copy link
Copy Markdown
Contributor

@orangepizza orangepizza commented Apr 1, 2025

Pebble didn't have badSignatureAlgorithm error, while RFC8555 section 6.2 mandates it.

jws parse time check for bad algorithm is needed because same as jose.parsesigned refuese to parse without algolist(which is good thing) so error already thrown at that time and we need to catch this type of error there.

see related boulder PR
letsencrypt/boulder#8091

Comment thread wfe/wfe.go Outdated
aarongable
aarongable previously approved these changes May 5, 2025
Comment thread wfe/wfe.go Outdated
@aarongable aarongable requested review from a team and jsha and removed request for a team May 5, 2025 23:42
Co-authored-by: Aaron Gable <aaron@aarongable.com>
Copy link
Copy Markdown
Contributor

@aarongable aarongable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; waiting on second review+approval.

@mcpherrinm mcpherrinm merged commit 5678a62 into letsencrypt:main May 7, 2025
13 of 14 checks passed
kwatson added a commit to kwatson/letsencrypt-pebble that referenced this pull request Jun 9, 2025
* 'main' of https://github.com/letsencrypt/pebble: (35 commits)
  add overriding of ARI response (letsencrypt#501)
  wfe: fix a race in `orderForDisplay` (letsencrypt#500)
  Bump golang.org/x/ dependencies (letsencrypt#499)
  currectly triggers BadSignatureAlgorithmProblem at JWS parse time (letsencrypt#492)
  use newer validation subdomain for dns-account-01 (fix CI eggsampler/acme error) (letsencrypt#498)
  Orders don't have a "deactivated" status. (letsencrypt#301)
  Update golangci-lint (letsencrypt#488)
  build(deps): bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 (letsencrypt#487)
  Truncate ARI timestamps to millisecond resolution (letsencrypt#485)
  return logical and compliant ARI windows for expiring certs (letsencrypt#484)
  Update dependencies (letsencrypt#481)
  docs: rm mention of subproblems being unimpl'd (letsencrypt#479)
  Fix(NOISSUE): Fix docker compose file example in README.md (letsencrypt#475)
  Add support for ACME Profiles (letsencrypt#473)
  Simplify KU, EKU, and SKID fields of issued certs (letsencrypt#472)
  Update golangci-lint to 1.60.2 (letsencrypt#474)
  Update /x/net for compatibility with go1.23 (letsencrypt#470)
  Reject extra command line args and fix README invocation (letsencrypt#467)
  Document exposing API and management ports when not using docker-compose.yaml (letsencrypt#465)
  Implement latest draft-ietf-acme-ari spec (letsencrypt#461)
  ...
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.

3 participants