Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obKDk-0002mC-Ep for pgsql-general@arkaria.postgresql.org; Thu, 22 Sep 2022 11:18:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1obKDi-0003nV-BX for pgsql-general@arkaria.postgresql.org; Thu, 22 Sep 2022 11:18:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obKDh-0003nK-Tp for pgsql-general@lists.postgresql.org; Thu, 22 Sep 2022 11:18:18 +0000 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1obKDa-0000U9-8M for pgsql-general@lists.postgresql.org; Thu, 22 Sep 2022 11:18:16 +0000 Received: by mail-oi1-x236.google.com with SMTP id d64so8912562oia.9 for ; Thu, 22 Sep 2022 04:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date; bh=jqzCvNBvlr727SSeetkCu9M5Luplrm99MO8EpRF+zuw=; b=qV+ztGYjfUA1+R0AhMtfSnpcDT14VvKGpg0APQAD1TcjCvmn/WQeLrXGJC75cN+Akf ikNAhARr7QP1RfOvhLl9MjXHwQxF1e9PdzKKwaeXD8kADzVXt2Aj1Mu/BD0y78tbyqFu Pr4wSi0GRtRChkgXlHnYcAp3CEGFzSJWcC8ALT3pdDeWlxWyO2QTutpv9QV/f79fBb3N 63ON6Ru0Qvmm16IaNbzJihWjauZPyvvTOwwFWzhzg5VKcV1u92UMr1gBB8N9phHVa8Da B6/WRqM8tLfJAyRjyprMT9zFYaywGvPrGlRTGm2pV3AyDMLhf2W+0HtJ2uQ7eBWRB7Kx f5RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date; bh=jqzCvNBvlr727SSeetkCu9M5Luplrm99MO8EpRF+zuw=; b=60YeHVRjyU0oa+YnpeycniEXkGU4vFJ4MgdsqIHsA4Tb2A2GBzxMx4SqDEuAH7+gpM K+zJSr+YVz1TfxOoI6IsOnEhF8LyGpnfVVHybONLMlkb+/nbFTOjUpqH2NzbopWJAuGG GIo4RmBx4lGCC9rfpAlTZDeZrRwaSbCiG+5D0xya49/NQIjSH6M/Y66iQZrj3AE5TYK3 70EHz9io0OrEXQQkpfeQL65mknnuC+m4TzEGsBVszrmOnsME0If+pj+qbzrqem+WptEz L+LBNJrc5L5UyPQ/ns/Msm8G0k8/Ip63b2I2THtAtrlz2iYsNZjuALKvc2P0TJWsN7G/ HWsQ== X-Gm-Message-State: ACrzQf2KkrN3+BVM1yQ9yCXDkP2neVLQsSoQ1OKvh58rCaOrIoBKFdut xqpVTWEtWjIPPLdZ5bcvJjFgyqBm1co= X-Google-Smtp-Source: AMsMyM62Tu7mG7cLP4uEM//dsr4KjcMENHnjF4J2FBRt6wyPp4+cVqNT3hdSM/ZAK3SRauivJ3mb7Q== X-Received: by 2002:aca:1c13:0:b0:350:ce21:a022 with SMTP id c19-20020aca1c13000000b00350ce21a022mr1293520oic.172.1663845487908; Thu, 22 Sep 2022 04:18:07 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id bm43-20020a0568081aab00b0034d14c6ce3dsm2292947oib.16.2022.09.22.04.18.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 04:18:07 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------Rf758KTTog4pIOwhY6sP6JIj" Message-ID: <9cc510a9-fb1b-bfaf-1f95-d118aa102f35@gmail.com> Date: Thu, 22 Sep 2022 06:18:06 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: PCI-DSS Requirements Content-Language: en-US To: "pgsql-general@lists.postgresql.org" References: <7fcd64b3-8943-98ee-27c8-08c9b9c0e7d6@gmail.com> From: Ron In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Rf758KTTog4pIOwhY6sP6JIj Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit We use PgBackRest to create encrypted backups, but the nature of pg_dump means that the only way for them to be encrypted is to add that feature to pg_dump. On 9/22/22 01:16, Inzamam Shafiq wrote: > Hi Ron, > > Thank you for the response. > > Actually we are in a starting phase and I have done instance level > encryption (CYBERTECH TDE Patch) but if someone take dump and restore it > on another server the data get restored successfully. Also the problem is > that the data is in plain text. > > So I want to ask if disk or instance level encryption useful or we should > focus on column level encryption? > > Also if any error occurred during DML and a plain query will be written > into the logs which may not be compliant with PCI. How to overcome that? > > Thanks. > > Regards, > > /Inzamam Shafiq/ > /Sr. DBA/ > ---------------------------------------------------------------------------- > *From:* Ron > *Sent:* Tuesday, September 20, 2022 10:44 PM > *To:* pgsql-general@lists.postgresql.org > *Subject:* Re: PCI-DSS Requirements > On 9/20/22 04:27, Inzamam Shafiq wrote: >> >> Hi Team, >> >> >> Anyone on PCI-DSS requirements for PostgreSQL DB, need help for some of >> the points. >> > > Can you be more specific?  (Typically. the auditors or the "audit > pre-check" team will ask for a bunch of details on how your instance is > configured.) > > The usual questions I get are: > - What password hash algorithm is used? > - How frequently to passwords expire? > - Is SSL used when communicating with applications? > > -- > Angular momentum makes the world go 'round. -- Angular momentum makes the world go 'round. --------------Rf758KTTog4pIOwhY6sP6JIj Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit We use PgBackRest to create encrypted backups, but the nature of pg_dump means that the only way for them to be encrypted is to add that feature to pg_dump.

On 9/22/22 01:16, Inzamam Shafiq wrote:
Hi Ron,

Thank you for the response.

Actually we are in a starting phase and I have done instance level encryption (CYBERTECH TDE Patch) but if someone take dump and restore it on another server the data get restored successfully. Also the problem is that the data is in plain text.

So I want to ask if disk or instance level encryption useful or we should focus on column level encryption?

Also if any error occurred during DML and a plain query will be written into the logs which may not be compliant with PCI. How to overcome that?

Thanks.

Regards,

Inzamam Shafiq
Sr. DBA

From: Ron <ronljohnsonjr@gmail.com>
Sent: Tuesday, September 20, 2022 10:44 PM
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PCI-DSS Requirements
 
On 9/20/22 04:27, Inzamam Shafiq wrote:

Hi Team,


Anyone on PCI-DSS requirements for PostgreSQL DB, need help for some of the points.


Can you be more specific?  (Typically. the auditors or the "audit pre-check" team will ask for a bunch of details on how your instance is configured.)

The usual questions I get are:
- What password hash algorithm is used?
- How frequently to passwords expire?
- Is SSL used when communicating with applications?

--
Angular momentum makes the world go 'round.

--
Angular momentum makes the world go 'round.
--------------Rf758KTTog4pIOwhY6sP6JIj--