Skip to content

Adopt fully-specified algorithm identifiers per signature-key -08 - #62

Closed
dickhardt wants to merge 1 commit into
ack-contributorsfrom
sigkey08-algorithms
Closed

dickhardt wants to merge 1 commit into
ack-contributorsfrom
sigkey08-algorithms

Conversation

@dickhardt

Copy link
Copy Markdown
Owner

Stack 2 of 7. Base: ack-contributors (#61). Fixes #57.

draft-hardt-httpbis-signature-key-08 forbids the polymorphic EdDSA identifier deprecated by RFC 9864, and requires every conveyed or referenced JWK to carry a present, fully-specified alg. AAuth cites that document normatively, so the current text is non-conformant with its own dependency.

Changes

  • Ed25519 replaces EdDSA at every normative and example site across the protocol, R3, events, and bootstrap drafts. The R3 changelog line at -00 is historical and left alone.
  • Signature Algorithms rewritten as the home for the Algorithm Determination rules AAuth inherits, with a {#signature-algorithms} anchor the token-structure sections reference.
  • cnf.jwk MUST carry alg. This is the widest-reaching part and was not in Use Ed25519 rather than the deprecated polymorphic EdDSA alg identifier #57's inventory: AAuth uses scheme=jwt, so every agent token and auth token conveys a JWK subject to the rule, and all four cnf.jwk examples in the repo omitted it — they would now be rejected by a conformant verifier.
  • Keys published at jwks_uri MUST carry alg. A discovered key has no other channel for it. Existing OIDC-style JWKS documents very likely omit it.
  • Verifiers MUST select the kid-matching key without requiring other JWKS members to be usable, so an issuer can publish a post-quantum key alongside a classical one without breaking verifiers that implement only the latter.
  • Cites the IANA JOSE algorithms registry directly rather than RFC 7518 §7.1, matching the correction -08 made.
  • R3 JWT header examples also corrected to the registered aa-resource+jwt / aa-auth+jwt media types — they said resource+jwt / auth+jwt, which a typ check would now reject.

ES256 is called out as RECOMMENDED where a platform's keys are ECDSA on P-256 — notably secure enclaves that do not offer Ed25519.

Adds an IANA.JOSE.Algorithms reference block. Verified: mmark + xml2rfc build clean and RFC 9864, RFC 9964, and the IANA reference all resolve.

🤖 Generated with Claude Code

https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls

draft-hardt-httpbis-signature-key-08 forbids the polymorphic EdDSA
identifier deprecated by RFC 9864, and requires every conveyed or
referenced JWK to carry a present, fully-specified alg member. AAuth
cites that document normatively, so the current text is non-conformant
with its own dependency.

- Ed25519 replaces EdDSA at every normative and example site across the
  protocol, R3, events, and bootstrap drafts.
- Signature Algorithms rewritten as the home for the Algorithm
  Determination rules AAuth inherits, with an anchor the token
  structure sections reference.
- cnf.jwk must carry alg; the four examples that omitted it would now
  be rejected by a conformant verifier.
- Keys published at jwks_uri must carry alg, since a discovered key has
  no other channel for it.
- Verifiers must select the kid-matching key without requiring other
  JWKS members to be usable, so a post-quantum key can be published
  alongside a classical one.
- R3 JWT header examples also corrected to the registered aa-resource+jwt
  and aa-auth+jwt media types.

Cites the IANA JOSE algorithms registry directly rather than RFC 7518.

Fixes #57

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls
@dickhardt

Copy link
Copy Markdown
Owner Author

Closed by the base-branch deletion in the stack merge, not intentionally. Reopening is blocked because the head branch was force-pushed while closed. Continues as #68 — same branch, same commit, retargeted to main.

dickhardt added a commit that referenced this pull request Aug 6, 2026
All three are artifacts of #62/#67 landing while #53 was open, and none
of them broke the build -- which is what makes the first one worth
calling out.

- The account field added in #67 cited the pre-rename
  I-D.hardt-aauth-protocol anchor, copying the surrounding style at a
  point when that anchor was still correct. Once #53 renamed the
  reference block, the citation matched no local <reference> and mmark
  silently resolved it from the datatracker to
  draft-hardt-aauth-protocol-02 of April 2026 -- the abandoned
  pre-rename draft. R3 cited two different documents, one of them dead,
  with a green build.

- The resource token and auth token prose named typ: resource+jwt and
  typ: auth+jwt. #62 corrected the JSON examples to the registered
  aa-resource+jwt and aa-auth+jwt media types but missed the prose, so
  the document contradicted its own examples one line away.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_011H2BBgoKc7DqXeme5yT9Ls
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.

1 participant