Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 9EF1A9FBA7E for ; Tue, 20 Feb 2007 15:15:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 36890-08 for ; Tue, 20 Feb 2007 15:15:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 742B79FB9CD for ; Tue, 20 Feb 2007 15:15:10 -0400 (AST) Received: from [192.168.199.196] (c213-100-160-41.swipnet.se [213.100.160.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by svr2.hagander.net (Postfix) with ESMTP id 5B245DCC5BE; Tue, 20 Feb 2007 20:15:09 +0100 (CET) Message-ID: <45DB48C5.1000103@hagander.net> Date: Tue, 20 Feb 2007 20:15:17 +0100 From: Magnus Hagander User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Tom Lane CC: Tony Caduto , pgsql-general@postgresql.org Subject: Re: Password issue revisited References: <45BCACDB.5050702@007Marketing.com> <200702201449.l1KEn0r21849@momjian.us> <20070220150507.GD11927@svr2.hagander.net> <45DB448A.3040308@amsoftwaredesign.com> <45DB4624.4060800@hagander.net> <18922.1171998826@sss.pgh.pa.us> In-Reply-To: <18922.1171998826@sss.pgh.pa.us> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.041 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200702/1074 X-Sequence-Number: 109564 Tom Lane wrote: > Magnus Hagander writes: >> Tony Caduto wrote: >>> What about having a wallet type system where the user can create a pass >>> phrase to protect a generated key that would get >>> loaded once per session. That is how KDE allows users to store passwords. > >> If we wanted to do that, we could use the Windows API that's available >> to do this. The idea with the pgpass flie is to have it compatible with >> the unix version. > > More to the point, that's far outside the scope of this project. Use a > PAM auth module that you like, or Kerberos or whatever. I'm way past > tired of "let's put yet another authentication technology in libpq" requests. Just to make things clear, this wouldn't be about another auth method. Windows has an API to store arbitrary passwords in a "secure way". At least it does in XP+, not sure if it was in 2000. Not saying it's a good idea, but it's not another auth tech for libpq. //Magnus