Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sLjIs-00GGRm-SF for pgsql-general@arkaria.postgresql.org; Mon, 24 Jun 2024 13:00:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sLjIr-009O6M-8D for pgsql-general@arkaria.postgresql.org; Mon, 24 Jun 2024 13:00:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sLjIq-009O6E-TK for pgsql-general@lists.postgresql.org; Mon, 24 Jun 2024 13:00:13 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sLjIo-002tFg-NQ for pgsql-general@lists.postgresql.org; Mon, 24 Jun 2024 13:00:11 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-52cd6784aa4so3184687e87.3 for ; Mon, 24 Jun 2024 06:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719234007; x=1719838807; darn=lists.postgresql.org; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=YRM85WQMuLYWsDDdu36e3ZYsspKrtyhO+eoRTlDchmk=; b=Df8BCz8nXcWxbuoZ73IgV7hRg72e0F0UCmL68BZ+ZmDVbZeAuN5+FS3Q20vwtmWI1o vZbVS8EPJb32eroUyUhxLppnsdGU9MP8I0u4OQwgZREtwmOUeigTAQFv1C5/nPKBF2G2 unZ5uX27k6uaqe7HwFJv1F4gtAVFWdgiYPL+ai1u7Xfyl6xkXze2lJSAwho/noKVWG4i eBg87KXnJI9S2gB0sFeP6B8n+oNvydtL236Dlg7kKyaDxOfPIYvZ+39/9iPJe2CCWggz pGAsJ5y0oc19lZdkHoQubXuty4+3OMgAGt2LVr951TFR3KTP0UXcRivT5MeXrt7BSLEr samA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719234007; x=1719838807; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YRM85WQMuLYWsDDdu36e3ZYsspKrtyhO+eoRTlDchmk=; b=BBxeFrrjHmFw+tz0vAIq5x/jUr03L8jBaN/XKRKAgdlVzrfSoeIBf+8NGUTbUdfIvz vuP9lbm/yjetDAG5tTppkba1vg3WQhO1iQIPySMfbQYfVyij4fc33IdWO4pjeueO+YCa tM9liM5+pOa3Xkx6gc9AnihNA1DrDI7zGEjLtbIteXMmq3Ju0RJ0kcN3hhA0FJD18BLV 0xn72Koue9EU+M8WUCqQcmv7dhw4P9bIIH3IcBk6RvOrcaH4h5SQj7Ga9knjlychpCJC z8Gye5BWSvWYOTwm0R/Ujj6GaL1tbXAkGMG/qkgky0eQak3Fyl1+Om2u1yNqMMAes/OO SP5w== X-Gm-Message-State: AOJu0Yy12ndgj5C18Yl+6Emcei7AJlcVL3ghQvGZTXculFCleepDsQjl WhkUsMNHNXFL6P5tx8cfaHyiS5zU7bBFTDbUmcouRS/QIajrcCuVVBcAh4SUboNKyLLbgvFbIr5 TW4okxZUoH08QcMGbW4fJNLMd78Uyzf/2 X-Google-Smtp-Source: AGHT+IHB4r/LPSWLj9QaDKaC2wP/QFZN5TLC+7PhiDa6+ha3TdKM9E/LgJBmgtP+hBoa58dJ4P6VbvR9GWjrc86C3+o= X-Received: by 2002:a19:5f58:0:b0:52c:d717:2c90 with SMTP id 2adb3069b0e04-52ce1864854mr2523851e87.59.1719234007347; Mon, 24 Jun 2024 06:00:07 -0700 (PDT) MIME-Version: 1.0 References: <79692c1a-190c-413e-9442-a14a45c1069d@googlemail.com> <834558.1719102188@sss.pgh.pa.us> <43826fbd-2d26-467b-afcf-7fde609f8da3@googlemail.com> In-Reply-To: From: o1bigtenor Date: Mon, 24 Jun 2024 07:59:31 -0500 Message-ID: Subject: 2FA - - - was Re: Password complexity/history - credcheck? Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000004b3898061ba25c1f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004b3898061ba25c1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 23, 2024 at 10:10=E2=80=AFAM Greg Sabino Mullane wrote: > On Sun, Jun 23, 2024 at 5:30=E2=80=AFAM Martin Goodson > wrote: > >> I believe that our security team is getting most of this from our >> auditors, who seem convinced that minimal complexity, password history >> etc are the way to go despite the fact that, as you say, server-side >> password checks can't really be implemented when the database receives a >> hash rather than a clear text password and password minimal complexity >> etc is not perhaps considered the gold standard it once was. >> >> In fact, I think they see a hashed password as a disadvantage. > > > Wow, full stop right there. This is a hill to die on. > > Push back and get some competent auditors. This should not be a DBAs > problem. Your best bet is to use Kerberos, and throw the password > requirements out of the database realm entirely. > > Also, the discussion should be about 2FA, not password history/complexity= . > > Hmmmmmmm - - - - 2FA - - - - what I've seen of it so far is that authentication is most often done using totally insecure tools (emailing some numbers or using SMS). Now if you were espousing the use of security dongles and such I would agree - - - - otherwise you are promoting the veneering of insecurity on insecurity with the hope that this helps. IMO having excellent passwords far trumps even 2FA - - - - 2FA is useful when simple or quite easily broken passwords are required. Now when you add the lack of SMS possibilities (due to lack of signal) 2FA is an usually potent PITA because of course SMS 'always' works (except it doesn't(!!!!!!!!!!!!!!!!)). (Can you tell that I've been bitten in the posterior repeatedly with this garbage?) Regards --0000000000004b3898061ba25c1f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Jun 23, 2024 at 10:10=E2=80= =AFAM Greg Sabino Mullane <htamfid= s@gmail.com> wrote:
On Sun, Jun 23, 2024 at 5:30= =E2=80=AFAM Martin Goodson <kaemaril@googlemail.com> wrote:
I believ= e that our security team is getting most of this from our
auditors, who seem convinced that minimal complexity, password history
etc are the way to go despite the fact that, as you say, server-side
password checks can't really be implemented when the database receives = a
hash rather than a clear text password and password minimal complexity
etc is not perhaps considered the gold standard it once was.

In fact, I think they see a hashed password as a disadvantage.
=

Wow, full stop right there. This is a hill to die on.

Push back and get some competent auditors. This sho= uld not be a DBAs problem. Your best bet is to use Kerberos, and throw the = password requirements out of the database realm entirely.

Also, the discussion should be about 2FA, not password history/comp= lexity.


Hmmmmmmm - - = - - 2FA - - - - what I've seen of it so far is that authentication is m= ost often done=C2=A0
using totally insecure tools (emailing some = numbers or using SMS). Now if you were espousing=C2=A0
the use of= security dongles and such I would agree - - - - otherwise you are promotin= g the veneering=C2=A0
of insecurity on insecurity with the hope t= hat this helps.=C2=A0

IMO having excellent passwor= ds far trumps even 2FA - - - - 2FA is useful when simple or quite=C2=A0
easily broken passwords are required.=C2=A0 Now when you add the lac= k of SMS possibilities (due to lack of signal) 2FA is an usually potent PIT= A because of course SMS 'always' works (except it doesn't(!!!!!= !!!!!!!!!!!)).=C2=A0

(Can you tell that I've b= een bitten in the posterior repeatedly with this garbage?)
<= br>
Regards
--0000000000004b3898061ba25c1f--