From: postgresql.org@gclough.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13669: Encrypted Password documentation lacking for CREATE ROLE
Date: Thu, 08 Oct 2015 15:30:30 +0000
Message-ID: <20151008153030.2911.86466@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13669
Logged by: Greg Clough
Email address: postgresql.org@gclough.com
PostgreSQL version: 9.4.5
Operating system: Documentation Bug
Description:
There is no definition of what "already in MD5-encrypted format" means in
the documentation:
http://www.postgresql.org/docs/9.4/static/sql-createrole.html
Could we please add:
Passwords in PostgreSQL MD5-encrypted (hashed) format are the string 'md5'
followed by an MD5 hash of a concatenation of the cleartext password with
the role.
md5_format ::= 'md5', md5(<password><role_name>)
For example, for the role "role1" with the password "TrustNo1" the process
for creating a password to use would be:
'md5' + md5('TrustNo1role1')
'md5' + 'e0024afa59108ab5d4b25dfc54fc245d'
'md5e0024afa59108ab5d4b25dfc54fc245d'
This could then be used to create the role thus:
CREATE ROLE role1 ENCRYPTED PASSWORD 'md5e0024afa59108ab5d4b25dfc54fc245d';
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: postgresql.org@gclough.com
Subject: Re: BUG #13669: Encrypted Password documentation lacking for CREATE ROLE
In-Reply-To: <20151008153030.2911.86466@wrigleys.postgresql.org>
References: <20151008153030.2911.86466@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox