Skip to content

Commit 934aecf

Browse files
yaronfcursoragent
andcommitted
§3.13: treat OWASP as informative example for p2c limit
Addresses AD review comment #8. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e5b3b05 commit 934aecf

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
@@ -796,9 +796,11 @@ the number of hash iterations that can be performed
796796
when validating encrypted content using PBES2 encryption algorithms,
797797
so as to prevent attackers from imposing
798798
an unreasonable computational burden on recipients.
799-
{{OWASP-Password-Storage}} states a specific iteration count (600,000 at time of publishing)
800-
is required when using HMAC-SHA-256 to achieve FIPS-140 compliance. Rejecting inputs with a `p2c`
801-
(PBES2 Count) value larger than double the recommended OWASP value is RECOMMENDED.
799+
As an example, {{OWASP-Password-Storage}} recommends 600,000 iterations (at time of publishing) when using
800+
HMAC-SHA-256 in a FIPS-140 context.
801+
Rejecting inputs with a `p2c` (PBES2 Count) value larger than twice that figure is RECOMMENDED,
802+
unless threat analysis on the recipient side results in accepting a larger
803+
number of iterations.
802804

803805
## Check JWT Format Type {#token-format}
804806

0 commit comments

Comments
 (0)