[x]):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?
Depends on used library lib/pq#608
With pq not being updated are there plans to use another library for this functionality?
Any updates here?
@evitalis do you know any other driver fix this issue?
maybe we could try this one https://github.com/jackc/pgx
I am not familiar with Go enough to suggest an alternative library. But given the inactivity of the current one it may be worth looking into another to keep up with PostgreSQL features and security improvements.
Have the same problem, any leads?
Database setting is invalid: pq: SSL is not enabled on the server
Please test if #6640 resolves your issue.
Most helpful comment
maybe we could try this one https://github.com/jackc/pgx