Skip to content

PGSQL auth fails during install #2928

@ghost

Description

  • Gitea version (or commit ref): 1.2.3
  • Git version: 2.15.0
  • Operating system: FreeBSD 11.1
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When configuring the PostgreSQL database I see the following error:

Database setting is invalid: pq: unknown authentication response: 10

The same error is reported in the logs when using unix socket types instead of http.

The issue is I am using SCRAM-SHA-256 authentication for the gitea user, the upstream pq library does not support this from what I can tell.

Is it possible to use a library which does support this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions