Closed rdnobrega closed 3 years ago
For reference: Postgres 13 gets scram-sha-256
as the default password_encryption
value, and the current Dart library supports only md5
. (SO thread)
If anybody wants to write support for the new hash, lib/src/connection_fsm.dart
has the relevant authentication code, I'm happy to review PRs... :)
wondering has scram-sha-256 support now been added ?
Hi, I'm using postgresql v13.0 x64. The library is giving me the following error:
PostgreSQLException (PostgreSQLSeverity.error : Unsupported authentication type 10, closing connection. )
Now, yesterday was working just fine, nothing was effectively changed... The code to connect is the simplest (I'm still drafting my app):
var connection = PostgreSQLConnection('localhost', 5432, 'rnobrega', username: 'rnobrega', password: '...');
Now that is not working, I modified the files pg_hba.conf and postgresql.conf (password encryption to md5, listen_adressses = '*') to replace scram-sha-256 to md5 and still not working...
pg_hba.conf:
any clues to what might be happening?