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 1hB1Nd-00033y-9i for pgsql-general@arkaria.postgresql.org; Mon, 01 Apr 2019 18:09:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hB1Na-0008Ko-UH for pgsql-general@arkaria.postgresql.org; Mon, 01 Apr 2019 18:09:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hB1Na-0008Kh-L8 for pgsql-general@lists.postgresql.org; Mon, 01 Apr 2019 18:09:54 +0000 Received: from evolu-s.it ([94.23.66.144] helo=smtp.evolu-s.it) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1hB1NY-0003Pl-Gl for pgsql-general@lists.postgresql.org; Mon, 01 Apr 2019 18:09:54 +0000 Received: from [192.168.1.129] ([79.6.30.247]) by smtp.evolu-s.it ; Mon, 1 Apr 2019 20:09:49 +0200 Subject: Re: Key encryption and relational integrity To: pgsql-general@lists.postgresql.org References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it> <082fdd45-a12b-161b-8386-70ee8528361e@aklaver.com> <514fb642-bba4-7a14-b412-d953f1b8b7e7@evolu-s.it> <3f88c83d-23b0-537f-8325-5b1d19ca77f7@aklaver.com> <7eb4fb29-73c5-c069-572a-621afe121564@evolu-s.it> <20190328222945.vllasskjkliibfq2@hjp.at> <2b6ce2cd-d82c-3d22-2228-e5fc1523a689@evolu-s.it> From: Moreno Andreo Message-ID: Date: Mon, 1 Apr 2019 20:09:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: it List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Il 29/03/2019 20:23, Adrian Klaver ha scritto: > On 3/29/19 9:01 AM, Moreno Andreo wrote: > >> And I tried to find a solution, and since I did not like that much >> what I found (and it seems that neither you do :-) ), I came here >> hoping that someone would share his experience to shed some light on >> the topic. > > From what you have posted the biggest issue you are having is less > then real time search on patient names due to the need to meet > pseudonymisation. To me that is always going to be a problem as there > are two opposing forces at work, overhead to implement > pseudonymisation vs quick lookup. Might be time to lower expectations > on what can be done. ... or just do NOT meet pseudonimization at all, but try to enforce other rules suggested bu GDPR. Peter put in evidence a concept " The GDPR doesn't say how to do that at all (the legislators were wise enough that any attempt to do that would result in a mess). So you can't say "the GDPR says we have to do it this way" (and if your consultant says that it is probably time to get a different one). You have to consider all the risks (and yes, an attacker getting access to some or all of the data is a risk, but a doctor not being able to access a patient's records is also a risk) and implement the best you can do considering "the state of the art, the costs of implementation", etc. " that would be absolutely right. I'm not forced to use pseudonimysation if there's the risk to get things worse in a system. I've got to speak about these"two opposing forces at work" to a privacy expert (maybe choosing another one, as Peter suggested :-) ) and ask him if it could be used as a matter of declining pseudonymisation because of "pseudonimysation puts at risk overall performance or database integrity" What do you think? > >> >> >>>          hp >>> >> >> >> >> >> > >