pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Richard Neill <rn214@richardneill.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: postgresql@richardneill.org
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs
Date: Thu, 10 Oct 2013 19:14:32 -0400
Message-ID: <20131010231432.GA7092@momjian.us> (raw)
In-Reply-To: <5257089E.7090406@gmx.net>
References: <E1VOFI4-0005nz-6r@wrigleys.postgresql.org>
	<CABUevEwwUfmZjJz=0_=La8Aj1dNEGd_M3T2n+2KY_OAwWneP=g@mail.gmail.com>
	<52421047.60301@richardneill.org>
	<20131002160044.GF21547@momjian.us>
	<5257089E.7090406@gmx.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Thu, Oct 10, 2013 at 04:05:50PM -0400, Peter Eisentraut wrote:
> The changes shown below are incorrect, I think.
> 
> 
> On 10/2/13 12:00 PM, Bruce Momjian wrote:
> > *************** gen_salt(type text [, iter_count integer
> > *** 353,359 ****
> >          <entry>12 years</entry>
> >         </row>
> >         <row>
> > !        <entry><literal>md5</></entry>
> >          <entry>2345086</entry>
> >          <entry>1 day</entry>
> >          <entry>3 years</entry>
> > --- 358,364 ----
> >          <entry>12 years</entry>
> >         </row>
> >         <row>
> > !        <entry><literal>md5 hash</></entry>

Uh, the table already has a mention of md5 crypt above:

       <entry><literal>crypt-md5</></entry>

How can the later entry not be MD5 hash?

> >          <entry>2345086</entry>
> >          <entry>1 day</entry>
> >          <entry>3 years</entry>
> > *************** gen_salt(type text [, iter_count integer
> > *** 380,386 ****
> >       </listitem>
> >       <listitem>
> >        <para>
> > !       <literal>md5</> numbers are from mdcrack 1.2.
> >        </para>
> >       </listitem>
> >       <listitem>
> > --- 385,391 ----
> >       </listitem>
> >       <listitem>
> >        <para>
> > !       <literal>md5 hash</> numbers are from mdcrack 1.2.
> >        </para>
> >       </listitem>
> >       <listitem>
> > *************** gen_random_bytes(count integer) returns
> > *** 1343,1349 ****
> >         <entry>OpenBSD sys/crypto</entry>
> >        </row>
> >        <row>
> > !       <entry>MD5 and SHA1</entry>
> >         <entry>WIDE Project</entry>
> >         <entry>KAME kame/sys/crypto</entry>
> >        </row>
> > --- 1348,1354 ----
> >         <entry>OpenBSD sys/crypto</entry>
> >        </row>
> >        <row>
> > !       <entry>MD5 hash and SHA1</entry>
> >         <entry>WIDE Project</entry>
> >         <entry>KAME kame/sys/crypto</entry>
> >        </row>
> 

Again, "MD5 crypt" is mentioned in the same table above:

      <entry>MD5 crypt</entry>

so how can this not be md5 hash?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (12+ messages)  latest in thread

Message-ID: <20131010231432.GA7092@momjian.us>
Permalink:  ../20131010231432.GA7092@momjian.us/
Also on:    postgresql.org/message-id/20131010231432.GA7092@momjian.us

 · 

reply

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: bruce@momjian.us, peter_e@gmx.net, rn214@richardneill.org, magnus@hagander.net, postgresql@richardneill.org
  Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs
  In-Reply-To: <20131010231432.GA7092@momjian.us>
  References: <E1VOFI4-0005nz-6r@wrigleys.postgresql.org> <CABUevEwwUfmZjJz=0_=La8Aj1dNEGd_M3T2n+2KY_OAwWneP=g@mail.gmail.com> <52421047.60301@richardneill.org> <20131002160044.GF21547@momjian.us> <5257089E.7090406@gmx.net> <20131010231432.GA7092@momjian.us>

* 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