horazont / aiosasl

Pure-python, protocol-agnostic SASL implementation for asyncio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import the minimum-iteration-count parameter of SCRAM SASL registry and enforce it

horazont opened this issue · comments

The SASL SCRAM family registry as specified in RFC 7677 § 5.2 provides a minimum-iteration-count parameter.

We should include that parameter in our code and offer an option to enforce that parameter (enabled by default).

(A reason to turn this off could be if the alternative is fallback to PLAIN.)