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 1nWhaK-0003Ot-7Q for pgsql-jdbc@arkaria.postgresql.org; Tue, 22 Mar 2022 16:42:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nWhaI-00062G-5J for pgsql-jdbc@arkaria.postgresql.org; Tue, 22 Mar 2022 16:42:14 +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 1nWhaH-000626-Sp for pgsql-jdbc@lists.postgresql.org; Tue, 22 Mar 2022 16:42:13 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nWhaF-0005f9-3K for pgsql-jdbc@lists.postgresql.org; Tue, 22 Mar 2022 16:42:13 +0000 Received: by mail-pj1-x102f.google.com with SMTP id n7-20020a17090aab8700b001c6aa871860so2653334pjq.2 for ; Tue, 22 Mar 2022 09:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=nIbO9B7PjHjVSXlXCbhQjVTW4/8YjAcDplRy6iJhWHs=; b=AgroHyXEkEocnp84l/CcaIlv79nYcZHLjIqL05i8FP00Scfc8fHbtvniktRvgEDawz iHVw7dDDTm84461SJZF4MSaRhq1WXtroPEsniYmyw7Uq0HzZEumr5KMt7WDi54wPoGgb EZym3o3E/fXLZtMQ5FRHfxJrWe7xHTpnXklHZmLq3MbS9kmqnsU/xazjKl2AhTbet6Gn SDI5FdSYGpDyPJqagz8SpIQuOG+VepaDN0W3al2/SEpHHPQam9i5WxnmO7i+cJzF2IPZ SeYcl8GJ8KrQkBKVM5LTZqekM0CkQVMSjSWHxx0OegSPWyfoZgfmSbE6hdE1r2GNKeJt CULA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=nIbO9B7PjHjVSXlXCbhQjVTW4/8YjAcDplRy6iJhWHs=; b=5vpTrfVKmKMt8GC5XaWq83WPObFQQ8Q0BNiZaV4xZMZbkx001XoXyr3C2SFkICy8ak 8uTNfbC1IEHyWsf+m9ghmwVt5G3Pvk3ChMcDa5mvw6vIDofcc7FcB7XdD/92C76U7XAO xg0nfckYX8wBQTswhC7NJGsmQ+A/q5Tvs6NnBeKpxmwSWEwCOOfy8oPczJdnYPO1nSzL xpY0R27VrxNtsxXaVUbkO9kMOAPX4aIw1pP+dTgPm1g3FSEVe3I9xtOKmM3F25cteF5n 2HFbPfAsxEmmVRzHzb/I3FBozqE0JGIW422nmoP0ZOpXQj4uf3cbhjjfIqWsF6VCxpOA ikXw== X-Gm-Message-State: AOAM531WJjPxsUynGxqKy0sw6dj12jJ7eNDmWTcwekscTzgwQhqOH0XO UACd/qYJlqrL8Sq+9AmIJ9g= X-Google-Smtp-Source: ABdhPJzOOYknuBDxwVmHZ6AxFLL7Dwxr3l45yZEpmwEZt/aXXtGaRjHypN0/d1EAyaRzLMyKW9jY9g== X-Received: by 2002:a17:90b:3ecb:b0:1c7:5634:df6f with SMTP id rm11-20020a17090b3ecb00b001c75634df6fmr5323494pjb.184.1647967329300; Tue, 22 Mar 2022 09:42:09 -0700 (PDT) Received: from [192.168.1.4] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id e10-20020a056a00162a00b004f6fc39c081sm21736877pfc.211.2022.03.22.09.42.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Mar 2022 09:42:08 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------wQUc4XBOJIll6RqkwvYzLfNH" Message-ID: <2f32386c-01dd-380a-7814-e44c65525a36@gmail.com> Date: Tue, 22 Mar 2022 10:42:07 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256) Content-Language: en-CA To: "McDermott, Becky" , "pgsql-jdbc@lists.postgresql.org" References: <8aef19f3-51ff-fa87-3fcf-70bbab065e2a@gmail.com> From: Rob Sargent 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. --------------wQUc4XBOJIll6RqkwvYzLfNH Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/22/22 10:36, McDermott, Becky wrote: > > Probably not right away.  Getting this fixed/working will not get > prioritized on the development side for a few weeks.  I was tasked > with confirming that we don’t have a platform side problem which I did > by confirming I can connect to postgresql using psql on a FIPS enabled > host. > > I was hoping that maybe there was something simple like the version of > postgres or the jdbc driver but it sounds like it may be more than that. > > Once our developers are tasked with actively looking into this, I will > re-post.  I do know that we were using MD5 and switched to > scram-sha-256 fairly recently (maybe 6 months ago).  But, up until > really recently, we were not running on a FIPS enabled host.  Since > FIPS is now enabled, the cryptography enforcement is actually > occurring and we are seeing this problem. > > Thank you, > > Becky > > Well there's still a chance someone on the list may have useful input.  If/when you return, please keep in mind that this list prefers "bottom-posting", i.e. (trimming and) adding your comments at the bottom, or where more appropriate adding comments in-line. --------------wQUc4XBOJIll6RqkwvYzLfNH Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 3/22/22 10:36, McDermott, Becky wrote:

Probably not right away.  Getting this fixed/working will not get prioritized on the development side for a few weeks.  I was tasked with confirming that we don’t have a platform side problem which I did by confirming I can connect to postgresql using psql on a FIPS enabled host.

 

I was hoping that maybe there was something simple like the version of postgres or the jdbc driver but it sounds like it may be more than that.

 

Once our developers are tasked with actively looking into this, I will re-post.  I do know that we were using MD5 and switched to scram-sha-256 fairly recently (maybe 6 months ago).  But, up until really recently, we were not running on a FIPS enabled host.  Since FIPS is now enabled, the cryptography enforcement is actually occurring and we are seeing this problem.

 

Thank you,

Becky


Well there's still a chance someone on the list may have useful input.  If/when you return, please keep in mind that this list prefers "bottom-posting", i.e. (trimming and) adding your comments at the bottom, or where more appropriate adding comments in-line.
--------------wQUc4XBOJIll6RqkwvYzLfNH--