Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8mzo-0008Pi-NY for pgsql-general@arkaria.postgresql.org; Tue, 26 Mar 2019 14:24:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8mzm-00052X-AP for pgsql-general@arkaria.postgresql.org; Tue, 26 Mar 2019 14:24:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8mzl-00052Q-UV for pgsql-general@lists.postgresql.org; Tue, 26 Mar 2019 14:24:06 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8mzj-0002bQ-Kx for pgsql-general@postgresql.org; Tue, 26 Mar 2019 14:24:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E763B21E9E; Tue, 26 Mar 2019 10:24:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 26 Mar 2019 10:24:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=g /frSPBdZPPL0v9967NO1c4j+txz+EmpjiAKI11GP9o=; b=Ri+7fW9HXpVtofmWC pbCSdAJhE92dbwLtVMW2E9YBd/VrPPvLOuKc5m0GHkAR4uc2a1aYK4wv4SPnBEH7 eB37yFbQiqkWCnUjcd5pTAdxVq7oUn73tWh2XNhfvAMTmFw1g8GYTOho+vcuOQpr HTuGV9kDB3r5vC6vNp1Iohd9hTFcK9Hgrqwv9JVj7H/1mswEfUeXpmbeDgb3fSuI 8ElpK9U0gwcapPR0Rb4xmSOtPpqydQe5MIzytNEbpcFbwqejK0cI3Xwikdj5fCB9 frOO4ZvbfOGkezeYxisHgQ+NZh17UMnbO0PVMtd6Y+uV4f55pTfvHA5Oza5x9GNv 6ikrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=g/frSPBdZPPL0v9967NO1c4j+txz+EmpjiAKI11GP 9o=; b=IZe+a8ethCw6iibe9Mr/hvWTcbzPuhIWHA2Dc5Ne9Y8hghMyopFSbyplW yRrepUbFtUPDip8o1XguSp974L2aGPdKEDbqAjPX6VJfiaBZ3MzZAtRP7A8tKp5C qxqo3Xe3h9594vDl/G/y7aTmJF+zLlxaLEKthnrdOU2zM9Irw0O6Y5gbhDkRPrdo yHjlJWDv/D9BKRKe6xJQrH+LWSaAde/HELS9N8MY2ZhfZli3RTPs6iWh817NWrRM LoRFPQie8XoDubum+YAUM7bcuoJcyLAFH9jcta3hQXSW2ZbwC9yjZUQYh5pkC+3O gwmzAlu2rFpQRKdgVIowTr7HJqgtw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedtgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeelnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C0B0E49E1; Tue, 26 Mar 2019 10:24:01 -0400 (EDT) Subject: Re: Key encryption and relational integrity To: Moreno Andreo , PostgreSQL mailing lists References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it> From: Adrian Klaver Message-ID: <082fdd45-a12b-161b-8386-70ee8528361e@aklaver.com> Date: Tue, 26 Mar 2019 07:24:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/26/19 7:19 AM, Moreno Andreo wrote: > Hello folks :-) > > Is there any workaround to implement key encryption without breaking > relational integrity? This is going to need more information. For starters 'key' has separate meanings for encryption and RI. I could make some guesses about what you want, but to avoid false assumptions a simple example would be helpful. > > Thanks > > Moreno.- > > > > -- Adrian Klaver adrian.klaver@aklaver.com