SCRAM-SHA-256 support for states.postgres_user
See original GitHub issueCurrent implementation either sends and compares plaintext or an md5hash.
There’s no way to send plaintext for the server to hash, because it also adds UNENCRYPTED
to the query.
ERROR: UNENCRYPTED PASSWORD is no longer supported
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
To scram-sha-256 from MD5 in PostgreSQL- CYBERTEC
This article explains in simple steps how to improve security in PostgreSQL by converting from MD5 hashes to scram-sha-256.
Read more >Documentation: 15: 21.5. Password Authentication - PostgreSQL
The method scram-sha-256 performs SCRAM-SHA-256 authentication, as described in RFC 7677. It is a challenge-response scheme that prevents password sniffing ...
Read more >I tried to change postgresql md5 to scram-sha-256 and I get ...
A. Now switch into the postgres user and run psql ... SELECT rolname, rolpassword ~ '^SCRAM-SHA-256\$' AS has_upgraded FROM pg_authid WHERE ...
Read more >How to Upgrade Your PostgreSQL Passwords to SCRAM
A how to guide for upgrading your PostgreSQL passwords to use SCRAM (SCRAM-SHA-256) for authentication instead of MD5.
Read more >PostgreSQL - password authentication to SCRAM-SHA-256.
Change PostgreSQL Password Authentication to SCRAM-SHA-256 ... By default (out-of-the-box installation), Postgres uses md5 encryption. Beginning with Postgres 10, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still a desired feature.
sadly without SCRAM support the current
postgres_user
state has very limited usefulness. please also let the module work with already encrypted passwords like: