Skip to content

Commit fdc0a00

Browse files
yaronfcursoragent
andcommitted
Clarify PBES2 p2c rejection threshold per ARTART review (Section 3.13).
Tie rejection to the configured upper limit and explain that the OWASP example illustrates a reasonable choice for that limit. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e4ecdc6 commit fdc0a00

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

draft-ietf-oauth-rfc8725bis.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -794,12 +794,13 @@ Implementations are RECOMMENDED to set a reasonable upper limit on
794794
the number of hash iterations that can be performed
795795
when validating encrypted content using PBES2 encryption algorithms,
796796
so as to prevent attackers from imposing
797-
an unreasonable computational burden on recipients.
798-
As an example, {{OWASP-Password-Storage}} recommends 600,000 iterations (at time of publishing) when using
799-
HMAC-SHA-256 in a FIPS-140 context.
800-
Rejecting inputs with a `p2c` (PBES2 Count) value larger than twice that figure is RECOMMENDED,
801-
unless threat analysis on the recipient side results in accepting a larger
802-
number of iterations.
797+
an unreasonable computational burden on recipients, and to reject inputs
798+
whose `p2c` (PBES2 Count) value exceeds that limit.
799+
As an example, {{OWASP-Password-Storage}} recommends 600,000 iterations
800+
(at time of publishing) when using HMAC-SHA-256 in a FIPS-140 context.
801+
Using an upper limit of no more than twice that figure (1,200,000 in this
802+
example) is RECOMMENDED, unless threat analysis on the recipient side
803+
results in accepting a larger number of iterations.
803804

804805
## Check JWT Format Type {#token-format}
805806

@@ -893,6 +894,10 @@ This document obsoletes RFC 8725 and provides several significant improvements a
893894

894895
[[Note to RFC Editor: please remove before publication.]]
895896

897+
## draft-ietf-oauth-rfc8725bis-07
898+
899+
* Clarified PBES2 `p2c` rejection threshold in Section 3.13 (ARTART review).
900+
896901
## draft-ietf-oauth-rfc8725bis-06
897902

898903
* AD review followup: promoted selected lowercase must/should guidance to normative MUST language.

0 commit comments

Comments
 (0)