Skip to content

Feature request: Add support for SCRAM-SHA-256 password authentication #817

Closed
@tinproject

Description

@tinproject

Since PostgreSQL password authentication with SCRAM-SHA-256 method is available: https://www.postgresql.org/docs/10/auth-methods.html.

Currently this library fails to connect when trying to authenticate to a server that enforces scram-sha-256 method with: unknown authentication response: 10

Note: I'm currently having this problem with a project that vendors this library, but code at https://github.com/lib/pq/blob/master/conn.go#L1135 also lacks this authentication method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions