Skip to content

Fix: non-existent JWE algorithm "A265GCM" in normative text; RFC label typo in section 3 - #18

Open
mwiesen wants to merge 1 commit into
masterfrom
fix/a265gcm-and-rfc-label
Open

Fix: non-existent JWE algorithm "A265GCM" in normative text; RFC label typo in section 3#18
mwiesen wants to merge 1 commit into
masterfrom
fix/a265gcm-and-rfc-label

Conversation

@mwiesen

@mwiesen mwiesen commented Jul 3, 2026

Copy link
Copy Markdown
Member

1. A265GCM should be A256GCM (3 occurrences)

The normative text specified the JWE encryption algorithm as "enc": "A265GCM" in three places:

  • Section 11.2 (Supported algorithm and encoding)
  • Section 14.3 (Connection Package)
  • Section 14.5 (Connect Message)

A265GCM is not a registered JWE algorithm; the intended identifier is clearly A256GCM ("256 bit AES in Galois/Counter Mode", as the surrounding prose says). All examples in the document and the keys in Appendix B already correctly use A256GCM.

This is worth fixing promptly because it sits in normative text of a cryptographic spec: an implementer who copies the normative string produces JWE headers that strict JOSE libraries reject, while an implementation that leniently accepts both strings creates a silent interop split.

2. RFC citation label in section 3

Section 3 read: "Data is encoded as JSON according to RFC 7519 "The JavaScript Object Notation (JSON) Data Interchange Format"".

The hyperlink correctly targets RFC 7159, but the visible label said RFC 7519 — which is JWT, not JSON. Fixed the label to RFC 7159 to match the existing link.

Both fixes are one-line changes each.

Disclosure: these findings came out of an AI-assisted review of the spec; I have verified them against the current master text.

…59 label

A265GCM is not a registered JWE algorithm; A256GCM (AES-256-GCM) is
clearly intended, matching the surrounding prose and all examples.
Section 3 mislabels the JSON RFC as 7519 (which is JWT) while linking
to 7159; fix the label to match the link.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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