lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
9.01k stars 910 forks source link

Support scram password generation #941

Open ncabatoff opened 4 years ago

ncabatoff commented 4 years ago

It's great that scram auth is supported via #833. One missing feature is the ability to generate passwords in scram format so that we can send SQL to create roles without risking the plaintext password appearing in server logs. Python example: https://gist.github.com/jkatz/e0a1f52f66fa03b732945f6eb94d9c21

Neustradamus commented 2 years ago

@ncabatoff: You can closed your ticket, the PR has been merged:

Linked to:

knz commented 2 years ago

@Neustradamus you're misunderstanding what PR #833.

The requester here is requesting something else.