docs(auth): clarify recoverable password storage - #63806
Open
joshtrichards wants to merge 2 commits into
Open
Conversation
Explain when recoverable login passwords are stored in authentication-token records and the consequences. Document the actual RSA key-size performance threshold (214 and neither "300" nor 250) and clarify that the 469-byte account-password limit applies regardless of this option. Signed-off-by: Josh <josh.t.richards@gmail.com>
joshtrichards
requested review from
Altahrim,
leftybournes and
salmart-dev
and removed request for
a team
August 30, 2026 14:39
This was referenced Aug 30, 2026
Signed-off-by: Josh <josh.t.richards@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #Summary
Clarify the documentation for
auth.storeCryptedPassword:The 214-byte threshold reflects the corrected RSA-OAEP key-size selection in #63804. It is the actual maximum plaintext size for the existing 2048-bit RSA-OAEP configuration, rather than the approximate 300-character guidance. Before #63804, the implementation switched to a larger key only above 250 bytes, leaving passwords from 215 through 250 bytes assigned to a key too small to encrypt them. (In other words, 214 was already the true cryptographic maximum, but it was not the implemented key-selection threshold before #63804).
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)