Skip to content

Reject auth downgrade when channel binding required#783

Merged
josevalim merged 1 commit into
elixir-ecto:masterfrom
Snehil-Shah:avoid-downgrade
Jul 15, 2026
Merged

Reject auth downgrade when channel binding required#783
josevalim merged 1 commit into
elixir-ecto:masterfrom
Snehil-Shah:avoid-downgrade

Conversation

@Snehil-Shah

Copy link
Copy Markdown
Contributor

Following up on #776. I think we shouldn't allow downgrading to cleartext/md5 if we have channel_binding as :require. This aligns with libpq. I missed this the last time.

Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>
@josevalim
josevalim merged commit cc30ce6 into elixir-ecto:master Jul 15, 2026
13 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

@Snehil-Shah
Snehil-Shah deleted the avoid-downgrade branch July 15, 2026 10:57
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.

2 participants