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

fix: only allow user and service account credentials #2603

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

olavloite
Copy link
Collaborator

When running in authentication mode, PGAdapter accepted a credentials file as a password. The credentials file was not checked before handed over to the auth libraries to check that it was one of the supported types. This check now happens before handing it off for further parsing.

When running in authentication mode, PGAdapter accepted a credentials
file as a password. The credentials file was not checked before handed
over to the auth libraries to check that it was one of the supported
types. This check now happens before handing it off for further parsing.
@olavloite olavloite merged commit 632e3c7 into postgresql-dialect Dec 6, 2024
43 checks passed
@olavloite olavloite deleted the restrict-credential-types branch December 6, 2024 19:23
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.

1 participant