Skip to content

fix(auth): Correct max password length in config.sample.php - #54091

Open
joshtrichards wants to merge 1 commit into
masterfrom
jtr-auth-pw-max-length-config-sample
Open

fix(auth): Correct max password length in config.sample.php#54091
joshtrichards wants to merge 1 commit into
masterfrom
jtr-auth-pw-max-length-config-sample

Conversation

@joshtrichards

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

The max password length is 469 bytes.

Ref: #33110

TODO

  • ...

Checklist

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichardsjoshtrichards added this to the Nextcloud 32 milestone Jul 25, 2025
@joshtrichards
joshtrichards requested a review from a team as a code ownerJuly 25, 2025 21:59
@joshtrichards
joshtrichards removed the request for review from a teamJuly 25, 2025 21:59
*
* By default, the passwords are stored encrypted in the database.
* It may be desirable to disable this functionality when using one-time passwords
* or when enforcing extremely long passwords (>469 bytes aka:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can not enforce passwords longer than Max length.
The 300 is because encrypting the password can take significant time when it's longer than 300 characters, so that number should stay.

This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Sep 10, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Sep 18, 2025
This was referenced Sep 25, 2025
This was referenced Jan 7, 2026
This was referenced Jan 14, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jan 22, 2026
This was referenced Jan 29, 2026
This was referenced Feb 11, 2026
@blizzzblizzz modified the milestones: Nextcloud 33, Nextcloud 34Feb 16, 2026
@nextcloud-botnextcloud-bot mentioned this pull request May 27, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jun 4, 2026
This was referenced Jun 5, 2026
@susnuxsusnux added the community pull requests from community label Jun 9, 2026
@susnuxsusnux removed this from the Nextcloud 34.0.1 milestone Jun 9, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugcommunitypull requests from communityfeature: authentication

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@joshtrichards@nickvergessen@susnux@blizzz@skjnldsv@nextcloud-bot