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 1jyU5r-0000mF-WE for pgsql-admin@arkaria.postgresql.org; Thu, 23 Jul 2020 05:48:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jyU5q-0003C7-UU for pgsql-admin@arkaria.postgresql.org; Thu, 23 Jul 2020 05:48:34 +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 1jyU5q-0003Bz-L5 for pgsql-admin@lists.postgresql.org; Thu, 23 Jul 2020 05:48:34 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jyU5j-0004q3-W5 for pgsql-admin@lists.postgresql.org; Thu, 23 Jul 2020 05:48:34 +0000 Received: by mail-ed1-x529.google.com with SMTP id i26so281214edv.4 for ; Wed, 22 Jul 2020 22:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ronQGL8iBBwle1emmneqc00DqQEtSGQClLGKgzzjNzc=; b=ExRTK7aYJwc7RzeMFZYrxckJrgwoQMtPdOwpeJQ9cjsmh6fpx6UxgwonA7V738eTwJ UcOal14rW6I8+FMoqS5urzxI/5p4F152QTbmx7vMKoo2om4Qr6ZWyIhEo0mHREwpET+R WySbZ+rH/21W0TUoySZ/cJgy739bEyx8GOgQvGfsJt/1mqiGlhbtuzY9AlYaDkx/dcVh MaG3Er8aEjFb1TEmDjoqOhlymbdJ8NkvJH4B47OZQS4WZRmoGfGHbNRvy0LGtFiXvzKP I/z1lJ7JUmMI9cc/RH/kILdem+R7HupHcOaUodfC/o9M0Hnx5PMnNWmsXrurXhiPxxbW oJsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ronQGL8iBBwle1emmneqc00DqQEtSGQClLGKgzzjNzc=; b=Xy9uzvjmfIZR/kTmK3F6VQlTL6Gd4RiF2/f/tEhEULZNhhXx+oTi/DubQ6myf/6CL/ 3V0VFlRHHaq/Bk02Se9h3Tpg5XyBBNx/vWnCw4rDN/eNrDxbc51UgZqR31DPm5kJMnfQ BPfb2yHLgFbyCXjvSvB6TH6Jk48UK1Z0cX/UHMlzT/qU6cDz808zF9iPA9DjX46QNkx/ qxDMJGEXXphFg1CBC272L+Uui99eNNOj3kRb1ZMJbo7bAgKqKW7CkzJ8uxqKqrWPhsvw LXtqw2rgZqbAWGfYTGksCnIdb7a7Dx2jzhLs6zMY6FtimPxd0kqoAjVtUqcV5mWraO8c HbKQ== X-Gm-Message-State: AOAM530ZwdRBGs4+/QOYsAm9LPTrKJkg1mqClLioXPy9n8P3nBP90Zfc N1ujU9VG3IvydGhocA3VGsw= X-Google-Smtp-Source: ABdhPJyMqtmOVKAYgRtc2SkTlUIdNTcYZlg6k0oaGElniBxg2Wuv4/hwEdLcZgvNbWC+Ufydzu9EgA== X-Received: by 2002:aa7:d58c:: with SMTP id r12mr2783392edq.160.1595483305420; Wed, 22 Jul 2020 22:48:25 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id x24sm586861edi.51.2020.07.22.22.48.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2020 22:48:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Encryption in pg_dump From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <87zh7qbxqk.fsf@gmail.com> Date: Thu, 23 Jul 2020 07:48:19 +0200 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <2BCA8D4B-E94D-4F2F-99A5-D783912A1CDF@gmail.com> <20200722185541.GE3899@momjian.us> <6D40812C-3F42-41A2-A548-4EC7754DF473@gmail.com> <87zh7qbxqk.fsf@gmail.com> To: Tim Cross X-Mailer: Apple Mail (2.3608.120.23.2.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Tim, > On 23. Jul, 2020, at 07:34, Tim Cross wrote: >=20 > Yes, I think the IT heads issue is the primary driver - combined with > very poor understanding of information security at senior levels and a > huge growth of poor quality and 'snake oil salesmen' in the IT = security space > due to the amount of money ill informed senior managers are throwing = at > what they think is a technical problem which usually is in fact a > business process problem.=20 and the best solution to that nonsense comes from the big red O. They = use PKCS#12 wallets. Good, but as soon as you need auto-open wallets, = which you do for every automated job like backups, you put the key right = next to it. So it's like having a big safe in your house but the = combination of the lock is written all over it. So much for security by = obscurity. For PostgreSQL we use a umask of 077 in our profile. That's why I keep = telling my IT head that this is enough and it does not make sense to put = the key next to the safe. Cheers, Paul=