News for hackers. Stuff that matters.
Re:Talking to Postgres Through Java 16 Unix-Domain Socket Ch... by tyingq on Friday February 05, 2021 @07:43AM (#26035689)
"the access method for the local connection type must be switched from the default value peer (which would try to authenticate using the operating system user name of the client process) to md5."

I wonder if they tried scram-sha-256. MD5 seems like a bad idea these days.

Re:Talking to Postgres Through Java 16 Unix-Domain Socket Ch... by gunnarmorling on Friday February 05, 2021 @08:08AM (#26035861)
Author here; mode of authentication didn't matter that much for that local exploration, so I haven't tried SCRAM-SHA-256. Great point though, it'd definitely be preferable in production.