Skip to content
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

Merged
merged 4 commits into from
Jul 16, 2020

Conversation

yanchenko-igor
Copy link
Contributor

@yanchenko-igor yanchenko-igor commented May 28, 2020

Implemented scram-sha-256 to encrypt the password.

@yanchenko-igor
Copy link
Contributor Author

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?

@FxKu
Copy link
Member

FxKu commented Jul 8, 2020

@yanchenko-igor can you rebase? I see some unrelevant changes here. In general, we nothing against this PR and would merge it soon. 😃

@FxKu FxKu added this to the 1.6 milestone Jul 8, 2020
@yanchenko-igor yanchenko-igor force-pushed the scram-sha-256_hash branch 2 times, most recently from ca4e500 to a591ab6 Compare July 8, 2020 17:43
@yanchenko-igor
Copy link
Contributor Author

@yanchenko-igor can you rebase? I see some unrelevant changes here. In general, we nothing against this PR and would merge it soon. smiley

@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.

@FxKu
Copy link
Member

FxKu commented Jul 9, 2020

@yanchenko-igor yes can you move this part to a separate PR? Aside from that the PR looks fine.

@yanchenko-igor
Copy link
Contributor Author

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 .

@yanchenko-igor
Copy link
Contributor Author

now it passes the coverage test 🎉

@FxKu
Copy link
Member

FxKu commented Jul 10, 2020

👍

1 similar comment
@CyberDem0n
Copy link
Contributor

👍

@FxKu FxKu merged commit 002b47e into zalando:master Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants