From: Rob Abernethy IV <abernethy@dynedge.com>
To: postgresql <pgsql-admin@postgresql.org>
Subject: Re: Encrypted Passwords
Date: Mon, 13 Jan 2003 09:53:52 +0800
Message-ID: <20030113095352.M56045@dynedge.com> (raw)
In-Reply-To: <20030110154754.M17846@dynedge.com>
References: <20030110144927.M51502@dynedge.com>
<20030110154754.M17846@dynedge.com>
Can you tell postgres *NOT* to use a salt when calculating the MD5 digest? I
found that it prepends the username to the password before making the calculation.
--
Robert Abernethy IV
Dynamic Edge, Inc.
734.975.0460
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
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: abernethy@dynedge.com
Subject: Re: Encrypted Passwords
In-Reply-To: <20030113095352.M56045@dynedge.com>
References: <20030110144927.M51502@dynedge.com> <20030110154754.M17846@dynedge.com> <20030113095352.M56045@dynedge.com>
* 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