-
Notifications
You must be signed in to change notification settings - Fork 981
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
Use scram-sha-256 hash if postgresql parameter password_encryption set to do so. #995
Conversation
9da0744
to
a1c2ac2
Compare
6d9f180
to
4f30903
Compare
Is anything wrong about this PR? our goal is to disable md5 in favor of scram-sha256, we could provide already encrypted passwor, but we would need postgres-operator to ignore password strings which start with "SCRAM-SHA-256$", could we do at least that? |
@yanchenko-igor can you rebase? I see some unrelevant changes here. In general, we nothing against this PR and would merge it soon. 😃 |
ca4e500
to
a591ab6
Compare
@FxKu i rebased, the only irrelevant change is to travis config, without this change goveralls ignores some tests and doesn't show coverage of the new code, let me know if you would prefer to fix it in a separate PR. |
@yanchenko-igor yes can you move this part to a separate PR? Aside from that the PR looks fine. |
a591ab6
to
d28ff70
Compare
All right, I removed the commit with travis settings, as expected, the coverage test didn't pass. Here is the change which will increase the coverage #1055 . |
d28ff70
to
99a2c43
Compare
now it passes the coverage test 🎉 |
👍 |
1 similar comment
👍 |
Implemented scram-sha-256 to encrypt the password.