Visual RFC.
ALL RFCs / RFC 8725
Read the RFC ↗
RFC 8725 / MECHANISMS

Nested tokens need every check

03

An outer encrypted token does not excuse skipping the inner signature verification.

RFC 8725 · § 3.3EXAMPLE
3 / 3
03
Invalid inner signature

Reject even when the outer encrypted envelope was valid.

Nested tokens need every checkAn outer encrypted token does not excuse skipping the inner signature verification. Current state: Invalid inner signature.Nested tokens need every checkouter JWEinner JWSsignature must validateInvalid inner signature → reject

Key idea: Validate every applicable cryptographic operation.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Validate every applicable cryptographic operation.
  • If any required operation fails, reject the token.
  • Only the plaintext resulting from successful validation becomes eligible for application checks.

The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 8725

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗