Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a
auth_methods
config setting which allows to configure which auth methods the client should accept.The settings value is a list of comma separated values. The default is
scram-sha-256,md5
.cleartext
needs to be explicitly enabled.Is there any place where documentation can be added?
I didn't do anything about
OK
authentication frame. A safe default should also fail if the server just passes you through without a credential check.But this is more complicated because it is fine with SSL client certificate for example.
So it needs more work. For now I'm just posting this patch.
Superseeds #218
cf crystal-lang/crystal-db#141