pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Ellis <Tim.Ellis@gamet.com>
Cc: David F. Skoll <dfs@roaringpenguin.com>
Cc: fstefan@cable.vol.at
Cc: pgsql-admin@postgresql.org
Subject: Re: OT: password encryption (salt theory)
Date: Thu, 22 Aug 2002 00:47:38 -0400
Message-ID: <5500.1029991658@sss.pgh.pa.us> (raw)
In-Reply-To: <20020821191821.1ba58982.Tim.Ellis@gamet.com>
References: <20020821173638.4428eb90.Tim.Ellis@gamet.com>
	<Pine.LNX.4.44.0208212137490.22466-100000@shishi.roaringpenguin.com>
	<20020821191821.1ba58982.Tim.Ellis@gamet.com>

Tim Ellis <Tim.Ellis@gamet.com> writes:
> Can anyone explain to me why a salt is really a good idea or if, as I
> suspect, it was an idea with good intentions that really doesn't help
> anything?

I believe the original purpose was to make it less obvious whether two
Unix users had the same password.  (Alice reads /etc/passwd, notices
that her password entry is the same as Bob's, trivially logs into Bob's
account.)

The small range of salts in the original implementation was, well,
appropriate for machine resources of the day.  These days you want
a few more random bits in there.  But the idea is not wrong merely
because there are threats it doesn't guard against.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <5500.1029991658@sss.pgh.pa.us>
Permalink:  ../5500.1029991658@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5500.1029991658@sss.pgh.pa.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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Tim.Ellis@gamet.com, dfs@roaringpenguin.com, fstefan@cable.vol.at
  Subject: Re: OT: password encryption (salt theory)
  In-Reply-To: <5500.1029991658@sss.pgh.pa.us>
  References: <20020821173638.4428eb90.Tim.Ellis@gamet.com> <Pine.LNX.4.44.0208212137490.22466-100000@shishi.roaringpenguin.com> <20020821191821.1ba58982.Tim.Ellis@gamet.com> <5500.1029991658@sss.pgh.pa.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