Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D49282E009C for ; Fri, 21 Dec 2007 12:48:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 39398-03 for ; Fri, 21 Dec 2007 12:47:52 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 48BA92E005E for ; Fri, 21 Dec 2007 12:47:53 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lBLGlhVU006534; Fri, 21 Dec 2007 11:47:43 -0500 (EST) To: Andrew Sullivan cc: pgsql-hackers@postgresql.org Subject: Re: function body actors (was: [PERFORM] viewing source code) In-reply-to: <20071221162441.GH10918@crankycanuck.ca> References: <20071221162441.GH10918@crankycanuck.ca> Comments: In-reply-to Andrew Sullivan message dated "Fri, 21 Dec 2007 11:24:41 -0500" Date: Fri, 21 Dec 2007 11:47:43 -0500 Message-ID: <6533.1198255663@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/804 X-Sequence-Number: 112093 Andrew Sullivan writes: > On Fri, Dec 21, 2007 at 12:09:28AM -0500, Merlin Moncure wrote: >> Maybe a key management solution isn't required. > I like this idea much better, because the same basic mechanism can be used > for more than one thing, and it doesn't build in a system that is > fundamentally weak. Of course, you _can_ build a weak system this way, but > there's an important difference between building a fundamentally weak system > and making weak systems possible. I find myself unconvinced by this argument. The main problem is: how do we know that it's possible to build a strong system atop this mechanism? Just leaving it to non-security-savvy users seems to me to be a great way to guarantee a lot of weak systems in the field. ISTM our minimum responsibility would be to design and document how to build a strong protection system using the feature ... and at that point why not build it in? I've certainly got no objection to making a mechanism that can be used for more than one purpose; but not offering a complete security solution is abdicating our responsibility. regards, tom lane