From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | <pgadmin(at)pse-consulting(dot)de>, <svn(at)pgadmin(dot)org> |
Cc: | <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: SVN Commit by dpage: r5106 - in trunk/pgadmin3: |
Date: | 2006-05-01 12:10:30 |
Message-ID: | 008701c66d18$468ed7d3$6a01a8c0@valehousing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
-----Original Message-----
From: "Andreas Pflug"<pgadmin(at)pse-consulting(dot)de>
Sent: 01/05/06 11:46:24
To: "svn(at)pgadmin(dot)org"<svn(at)pgadmin(dot)org>
Cc: "pgadmin-hackers(at)postgresql(dot)org"<pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-hackers] SVN Commit by dpage: r5106 - in trunk/pgadmin3:
> Is that a good idea to do this in a private md5 implementation? libpq is
> going to/already exporting a method for this, which will make us less
> sensitive to backend changes.
I considered this carefully and chose that method for a few reasons.
- Any change (say, to sha1) is a major compatibility issue for any libpq client - it wouldn't be taken lightly, we couldn't fail to miss the change, and it'll be mainly a cut n paste job to fix.
- Using libpq to do it requires configure time checks for the correct libpq on *nix, and runtime checking on Win32. I couldn't find a sensibly clean way to do the latter.
- Using libpq essentially forces ppl to upgrade to the latest client to benefit from the extra security.
All in all, a private implementation seemed the least painful, and secure option.
/D
-----Unmodified Original Message-----
svn(at)pgadmin(dot)org wrote:
> Author: dpage
>
> Date: 2006-04-30 21:13:00 +0100 (Sun, 30 Apr 2006)
>
> New Revision: 5106
>
> Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5106&view=rev
>
> Log:
> Pre-encrypt passwords before sending them down the wire or displaying them in SQL statements.
Is that a good idea to do this in a private md5 implementation? libpq is
going to/already exporting a method for this, which will make us less
sensitive to backend changes.
Regards,
Andreas
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2006-05-01 12:28:51 | Re: SVN Commit by dpage: r5106 - in trunk/pgadmin3: |
Previous Message | svn | 2006-05-01 11:58:22 | SVN Commit by andreas: r5107 - trunk/pgadmin3/src/base |