pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: [EXTERNAL] Re: Can you install/run postgresql on a FIPS enabled host?
Date: Mon, 21 Mar 2022 17:08:00 -0600
Message-ID: <624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com> (raw)
In-Reply-To: <BY3PR09MB862788DE539AE08FA01E555EC8169@BY3PR09MB8627.namprd09.prod.outlook.com>
References: <BY3PR09MB8627F2AA4D3610A5A2F3278AC8169@BY3PR09MB8627.namprd09.prod.outlook.com>
	<2406473.1647902009@sss.pgh.pa.us>
	<BY3PR09MB86273DECBC859A583051CD57C8169@BY3PR09MB8627.namprd09.prod.outlook.com>
	<2408795.1647903569@sss.pgh.pa.us>
	<BY3PR09MB862788DE539AE08FA01E555EC8169@BY3PR09MB8627.namprd09.prod.outlook.com>

On 3/21/22 17:02, McDermott, Becky wrote:
> Thank you.  I should deploying a very simple container that has psql installed and make sure I can connect in a simple way with a username/password.  If this works, then the database is fine and it would definitely point to a java issue.
>
> Thanks!

I liked your original theory:
That stack trace message is rather adamant.  Is there any indication 
that PBKDF2 and SCRAM-SHA-256 should play nice?

Caused by: org.postgresql.util.PSQLException: Something unusual has occurred to cause the driver to fail. Please report this exception.
         at org.postgresql.Driver.connect(Driver.java:277) ~[postgresql-42.2.5.jar:42.2.5]
         at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175) ~[c3p0-0.9.5.5.jar:0.9.5.5]
         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220) ~[c3p0-0.9.5.5.jar:0.9.5.5]
         at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206) ~[c3p0-0.9.5.5.jar:0.9.5.5]
         at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203) ~[c3p0-0.9.5.5.jar:0.9.5.5]
         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176) ~[c3p0-0.9.5.5.jar:0.9.5.5]
         at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163) ~[c3p0-0.9.5.5.jar:0.9.5.5]
         at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696) ~[mchange-commons-java-0.2.19.jar:0.2.19]
Caused by: java.lang.RuntimeException: Unsupported PBKDF2 for SCRAM-SHA-256







view thread (14+ messages)  latest in thread

Message-ID: <624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com>
Permalink:  ../624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com/
Also on:    postgresql.org/message-id/624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: [EXTERNAL] Re: Can you install/run postgresql on a FIPS enabled host?
  In-Reply-To: <624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com>
  References: <BY3PR09MB8627F2AA4D3610A5A2F3278AC8169@BY3PR09MB8627.namprd09.prod.outlook.com> <2406473.1647902009@sss.pgh.pa.us> <BY3PR09MB86273DECBC859A583051CD57C8169@BY3PR09MB8627.namprd09.prod.outlook.com> <2408795.1647903569@sss.pgh.pa.us> <BY3PR09MB862788DE539AE08FA01E555EC8169@BY3PR09MB8627.namprd09.prod.outlook.com> <624f9a7d-a19a-e9d3-2962-258710f6f53e@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox