Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B53AD475EF9 for ; Fri, 10 Jan 2003 15:47:56 -0500 (EST) Received: from localhost.localdomain (thompsonmccully.com [63.215.160.3]) by postgresql.org (Postfix) with ESMTP id 04E87475E23 for ; Fri, 10 Jan 2003 15:47:56 -0500 (EST) Received: from dynedge.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h0AKlsY09702 for ; Fri, 10 Jan 2003 14:47:54 -0600 From: "Rob Abernethy IV" To: "postgresql" Subject: Re: Encrypted Passwords Date: Fri, 10 Jan 2003 15:47:54 +0800 Message-Id: <20030110154754.M17846@dynedge.com> In-Reply-To: <20030110144927.M51502@dynedge.com> References: <20030110144927.M51502@dynedge.com> X-Mailer: Open WebMail 1.64 20020419 X-OriginatingIP: 192.168.1.13 (abernethy@dynedge.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/88 X-Sequence-Number: 6930 Perl also came up with the same digest as Java. -- Robert Abernethy IV Dynamic Edge, Inc. 734.975.0460 > How does postgres calculate the MD5 version of a password to store > in the database during user creation? I am trying to set up a > postgres JDBCRealm to work with Tomcat. The problem is that the > resulting digest from Java is different then the digest stored in > the database for the same word. > > clear-text: tomcat > java: 1b359d8753858b55befa0441067aaed3 > postgres: md5efcc1c51a80be13b59cdb96d758a0184 > > -- > Robert Abernethy IV > Dynamic Edge, Inc. > 734.975.0460 > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org