From bmastenb at cs.indiana.edu Thu Apr 1 17:15:05 2004 From: bmastenb at cs.indiana.edu (Brian Mastenbrook) Date: Thu, 1 Apr 2004 12:15:05 -0500 Subject: [pg-devel] Patch: MD5 authentication and a small bug fix Message-ID: <1E9ED1F4-8400-11D8-AF2A-000A9599AF88@cs.indiana.edu> Attached is a patch which implements MD5 authentication for PG using the SB-MD5 contrib. Since this contrib exports the same interface as Pierre Mai's md5.lisp, I expect that it would be possible to support MD5 on all platforms easily. There is a small bugfix as well - read-string-from-packet would complain that length is negative when it was 0. This has been fixed. Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: pg-md5.diff Type: application/octet-stream Size: 2646 bytes Desc: not available URL: -------------- next part -------------- -- Brian Mastenbrook bmastenb at cs.indiana.edu http://cs.indiana.edu/~bmastenb/ From emarsden at laas.fr Thu Apr 1 18:40:03 2004 From: emarsden at laas.fr (Eric Marsden) Date: Thu, 01 Apr 2004 20:40:03 +0200 Subject: [pg-devel] Patch: MD5 authentication and a small bug fix In-Reply-To: <1E9ED1F4-8400-11D8-AF2A-000A9599AF88@cs.indiana.edu> (Brian Mastenbrook's message of "Thu, 1 Apr 2004 12:15:05 -0500") References: <1E9ED1F4-8400-11D8-AF2A-000A9599AF88@cs.indiana.edu> Message-ID: >>>>> "bm" == Brian Mastenbrook writes: bm> Attached is a patch which implements MD5 authentication for PG using bm> the SB-MD5 contrib. Since this contrib exports the same interface as bm> Pierre Mai's md5.lisp, I expect that it would be possible to support bm> MD5 on all platforms easily. thanks, I have committed this and added md5.lisp to the repository. In fact the committed code uses md5.lisp for SBCL too; not sure whether it's worth adding conditionalization for that. -- Eric Marsden From ch-pg-devel at bobobeach.com Thu Apr 15 09:31:47 2004 From: ch-pg-devel at bobobeach.com (Cyrus Harmon) Date: Thu, 15 Apr 2004 02:31:47 -0700 Subject: [pg-devel] md5? Message-ID: I don't see md5.lisp in the repository. Am I missing something? The .asd file is requesting it. Thanks, Cyrus From emarsden at laas.fr Tue Apr 20 12:59:54 2004 From: emarsden at laas.fr (Eric Marsden) Date: Tue, 20 Apr 2004 14:59:54 +0200 Subject: [pg-devel] md5? In-Reply-To: (Cyrus Harmon's message of "Thu, 15 Apr 2004 02:31:47 -0700") References: Message-ID: >>>>> "ch" == Cyrus Harmon writes: ch> I don't see md5.lisp in the repository. Am I missing something? The ch> .asd file is requesting it. indeed, I forgot to commit it. Thanks. -- Eric Marsden