-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with long passwords #507
Comments
This is probably unrelated to the image, but to the behavior of initdb. More info to be found here: https://bugzilla.redhat.com/show_bug.cgi?id=785394. Before 3f585c5, we did not use initdb but altered the role, so we did not face this limitation. |
Interesting limitation! IMO, we should probably have the script check the password length and warn if it's over 100, with some comments/links to the limitation in |
Oh this is even more fun. |
Even more, if you first initialize the container with a short password, then login with I agree, a warning is granted here. |
Couldn't this be automated in the container's initialization (e.g. create the role with a random password of length < 100, then execute |
This all sounds to me like there's truncation happening somewhere -- I
think a warning is appropriate until/if upstream fixes the
truncation/limit issues.
|
I agree. I would be hesitant to introduce features/changes here which aren't backed by upstream components. |
Looks like this is no longer an issue since Postgres 14.0, see postgres/postgres@67a472d |
Nice, thanks for the pointer! I've opened #1166 to discuss further / adjust our warning 👍 |
I am seeing issues with a long passwords. The following works:
Now I can login with psql:
However, when I introduce a longer password, I cannot login anymore:
In psql:
Although I did not verify this, I believe this was introduced in 3f585c5.
The text was updated successfully, but these errors were encountered: