Re: sunsetting md5 password support - Mailing list pgsql-hackers

From Christoph Moench-Tegeder
Subject Re: sunsetting md5 password support
Date
Msg-id ZwfIGOW0kNpA6hke@sciurus.exwg.net
Whole thread Raw
In response to Re: sunsetting md5 password support  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
## Heikki Linnakangas (hlinnaka@iki.fi):

> This is a bit weird state. What exactly is "upgrading"? I guess you
> mean pg_upgrade, but lots of people use pg_dump & restore or logical
> replication or something else entirely for upgrading. That's
> indistinguishable from setting a pre-hashed MD5 password.

Password hashes are only in the "globals" dump (pg_dumpall -r/-g),
not in standard pg_dump (and I don't see anything about passwords
in the binary-upgrade mode of pg_dump).
Finally it might be a good thing that we separated data and roles.
Maybe that even is a plan for pg_upgrade: understand md5-password
when they appear in pg_authid, but do not apply special treatment
in CREATE ROLE/ALTER ROLE, thus preventing the setting of md5
password as pre-hashed passwords.

Regards,
Christoph

-- 
Spare Space.



pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: incorrect wal removal due to max_slot_wal_keep_size
Next
From: Andrew Dunstan
Date:
Subject: Re: sunsetting md5 password support