From: Josh Close <narshe@gmail.com>
To: pgsql-interfaces@postgresql.org
Subject: protocol, md5 authentication
Date: Wed, 22 Feb 2006 08:22:51 -0600
Message-ID: <4a0cafe20602220622g77666533k7564b439e83ce55@mail.gmail.com> (raw)
I can't seem to get the md5 authentication to work with the postgres
protocol version 3.
The docs don't really say how to send an authenticated password, just that
you need to use the returned salt from the md5 authentication request.
I've read somewhere that it needs to work like this:
1. Combine password + user.
2. MD5 hash the result.
3. Add the salt to the end of that.
4. Hash the result.
5. Add "md5" to the front of this, so postgres knows it's md5.
This hasn't worked for me.
What is the correct way of MD5 authenticating?
-Josh
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: narshe@gmail.com
Subject: Re: protocol, md5 authentication
In-Reply-To: <4a0cafe20602220622g77666533k7564b439e83ce55@mail.gmail.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