Re: removal of md5 from example code

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: jonwolski(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: removal of md5 from example code
Date: 2018-01-31 04:02:04
Message-ID: 5dba9c6c-19fe-6095-ff83-d8d9e29d0e93@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 1/17/18 11:14, PG Doc comments form wrote:
> The documentation at
> https://www.postgresql.org/docs/current/static/citext.html shows an example
> using md5 for password hashes. This is generally a bad practice and not
> relevant to the feature documented.
>
> I recommend removing the password column from this example or replacing the
> md5 hash with something more secure (a secure hash algorithm with a salt).

We don't have any other hash functions built in and exposed at the SQL
level. (Maybe that is a problem.) Do you have any other ideas how to
rewrite that example?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-01-31 11:57:56 Windows instructions are incomplete
Previous Message Bruce Momjian 2018-01-30 14:36:02 Re: Need PostgreSQL Key words list