pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andreas <maps.on@gmx.net>
To: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: md5 password encryption?
Date: Wed, 9 Nov 2016 12:13:15 -0800
Message-ID: <3e1052a7-3019-d710-6202-0fee4f162f11@aklaver.com> (raw)
In-Reply-To: <32fa1578-f304-fa07-3801-af9a042b872f@gmx.net>
References: <32fa1578-f304-fa07-3801-af9a042b872f@gmx.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 11/09/2016 10:59 AM, Andreas wrote:
> Hi,
>
> how can I use md5 password encryption?
> FAQ 3.4 just states that it will work but it doesn't explain how it is
> used.

Because that behavior is determined by pg_hba.conf:

https://www.postgresql.org/docs/9.5/static/auth-pg-hba-conf.html

See:

"auth-method

md5

     Require the client to supply a double-MD5-hashed password for 
authentication. See Section 19.3.2 for details."


>
> Server PostgreSQL 9.5 on UBUNTU 16.04.1 with the standard installation.
> postgresql.conf has SSL=ON so I expect it to work?   :}

Has nothing to do with SSL.

>
> Client is Access 2013 with psqlODBC 9.5.400.
> So I'd like to use an ADODB-Connection with VBA.
> I can allready connect with plaintext PW. Now I'like to add a bit of
> extra security by using encrypted login.

I am suspect you may already be using md5. It still means you supply a 
plain text password on the client end, just that it encrypts it before 
sending across the wire.

>
>
> Regards
> Andreas
>
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (2+ messages)

Message-ID: <3e1052a7-3019-d710-6202-0fee4f162f11@aklaver.com>
Permalink:  ../3e1052a7-3019-d710-6202-0fee4f162f11@aklaver.com/
Also on:    postgresql.org/message-id/3e1052a7-3019-d710-6202-0fee4f162f11@aklaver.com

 · 

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-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com, maps.on@gmx.net
  Subject: Re: md5 password encryption?
  In-Reply-To: <3e1052a7-3019-d710-6202-0fee4f162f11@aklaver.com>
  References: <32fa1578-f304-fa07-3801-af9a042b872f@gmx.net> <3e1052a7-3019-d710-6202-0fee4f162f11@aklaver.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