Skip to content

Commit b38f9c7

Browse files
authored
Apply suggestion from @selfissued
1 parent b8a4267 commit b38f9c7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

draft-ietf-oauth-rfc8725bis.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,11 @@ The library MUST verify that the algorithm specified in the "alg" or "enc" heade
466466
is consistent with the algorithm associated with the key identified by the
467467
corresponding identifier (e.g., "kid") during key lookup.
468468

469-
In other words, when a recipient receives a JWT from bob.example.com, it MUST consult
470-
its locally configured policy to determine which algorithms are permitted for that
471-
sender and ensure that the received JWT complies with those expectations.
469+
When a recipient receives a JWT signed by a particular issuer, it MUST
470+
determine which algorithms are permitted for that
471+
issuer and ensure that the received JWT complies with those requirements.
472+
It must likewise validate that the algorithms used by encrypted JWTs
473+
are among those supported by the intended recipient.
472474

473475
In accordance with established cryptographic best practices, each key MUST be bound
474476
to exactly one algorithm. Compliance with this requirement MUST be enforced and

0 commit comments

Comments
 (0)