Re: [HACKERS] Changing references of password encryption to hashing - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Changing references of password encryption to hashing
Date
Msg-id b0e5aebb-3d4a-4dd2-93e7-6c5e2f3ba033@eisentraut.org
Whole thread Raw
In response to Re: [HACKERS] Changing references of password encryption to hashing  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] Changing references of password encryption to hashing
List pgsql-hackers
On 27.12.23 02:04, Bruce Momjian wrote:
> I did_not_  change the user API, so CREATE/ALTER ROLE still uses
> [ENCRYPTED] PASSWORD, the GUC is still called password_encryption, and
> the libpq function is still called PQencryptPasswordConn().  This makes
> the user interface confusing since the API uses "encryption" but the
> text calls it "hashing".  Is there support for renaming the API to use
> "hash" and keeping "encrypt" for backward compatiblity.

Yeah, this is clearly confusing.  I think we should just leave it alone. 
  Some gentle rewording here and there to clarify things might be 
appropriate (but the text already uses hashing on some occasions), but 
the blanket replacement does not make things better, I think.



pgsql-hackers by date:

Previous
From: Dagfinn Ilmari Mannsåker
Date:
Subject: Assorted typo fixes
Next
From: Melanie Plageman
Date:
Subject: Add LSN <-> time conversion functionality