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

A password is a weak MAC key

02

HMAC keys need enough entropy; a human-memorable password is not an appropriate substitute.

Related RFCs and changes

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

DIAGRAM§ 3.5 ↗
RFC 8725 · § 3.5EXAMPLE
3 / 3
A password is a weak MAC keyHMAC keys need enough entropy; a human-memorable password is not an appropriate substitute. Current state: High-entropy key.A password is a weak MAC keyweak HMAC secretguessable passwordoffline guessestestUse suitable high-entropy keys
03
High-entropy key

Replace human-chosen passwords with suitable cryptographic key material.

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
KEY POINT

A strong HMAC algorithm cannot repair a guessable symmetric key.

  • A strong HMAC algorithm cannot repair a guessable symmetric key.
  • Use keys with sufficient entropy for the selected algorithm.
  • Protect private and symmetric keys from disclosure.
DETAILS

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

Read the RFC section ↗

Diagrams simplify the RFC. Read the linked sections for complete requirements.

Privacy
All chapters in this RFC
  1. Do not let alg choose the policy
  2. A password is a weak MAC key
  3. Nested tokens need every check
  4. Bind issuer and audience
  5. Different purposes need different rules
RFC 9700 / CHAPTERS

Chapters

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

RFC status and corrections ↗