Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3F978475FFE for ; Thu, 22 Aug 2002 14:27:27 -0400 (EDT) Received: from linuxmail.lgsinc.com (unknown [12.22.4.163]) by postgresql.org (Postfix) with ESMTP id 47626475FF6 for ; Thu, 22 Aug 2002 14:27:26 -0400 (EDT) Received: from timetop ([10.13.15.254]) by linuxmail.lgsinc.com (8.11.6/8.8.7) with SMTP id g7MIRMU13529; Thu, 22 Aug 2002 11:27:22 -0700 Date: Thu, 22 Aug 2002 11:29:45 -0400 From: Tim Ellis To: Tom Lane Cc: dfs@roaringpenguin.com, fstefan@cable.vol.at, pgsql-admin@postgresql.org Subject: Re: OT: password encryption (salt theory) Message-Id: <20020822112945.3d37c2ff.Tim.Ellis@gamet.com> In-Reply-To: <5500.1029991658@sss.pgh.pa.us> References: <20020821173638.4428eb90.Tim.Ellis@gamet.com> <20020821191821.1ba58982.Tim.Ellis@gamet.com> <5500.1029991658@sss.pgh.pa.us> Organization: Gamet X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i586-mandrake-linux-gnu) WerdupHomey: 3.14159265358979323 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/265 X-Sequence-Number: 5379 > > Can anyone explain to me why a salt is really a good idea > > I believe the original purpose was to make it less obvious whether two > Unix users had the same password. Ah, plus, as was also pointed out, the attacker cannot precompute a dictionary attack -- she must do a dictionary attack PER PASSWORD, not per password file. This all makes sense. Conclusion: Salt is good. Random salt is best. Any salt is better than no salt. Thanks for clarifying it, everyone. -- Tim Ellis Senior Database Architect Gamet, Inc.