Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkEjC-0003fd-1a for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Oct 2015 17:11:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZkEjB-0002Dd-In for pgsql-bugs@arkaria.postgresql.org; Thu, 08 Oct 2015 17:11:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZkD9w-0004JH-U5 for pgsql-bugs@postgresql.org; Thu, 08 Oct 2015 15:31:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZkD9s-0000PG-Hl for pgsql-bugs@postgresql.org; Thu, 08 Oct 2015 15:31:07 +0000 MIME-Version: 1.0 Subject: BUG #13669: Encrypted Password documentation lacking for CREATE ROLE To: pgsql-bugs@postgresql.org From: postgresql.org@gclough.com Date: Thu, 08 Oct 2015 15:30:30 +0000 Message-ID: <20151008153030.2911.86466@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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() 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