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 1k1CIx-0008In-Gz for pgsql-jdbc@arkaria.postgresql.org; Thu, 30 Jul 2020 17:25:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k1CIw-0004eD-FB for pgsql-jdbc@arkaria.postgresql.org; Thu, 30 Jul 2020 17:25: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 1k1CIw-0004e6-6D for pgsql-jdbc@lists.postgresql.org; Thu, 30 Jul 2020 17:25:18 +0000 Received: from out-27.smtp.github.com ([192.30.252.210]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k1CIt-0005Vd-Gh for pgsql-jdbc@lists.postgresql.org; Thu, 30 Jul 2020 17:25:17 +0000 Received: from github-lowworker-a6a2749.va3-iad.github.net (github-lowworker-a6a2749.va3-iad.github.net [10.48.16.62]) by smtp.github.com (Postfix) with ESMTP id 8E6A19025CE for ; Thu, 30 Jul 2020 10:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1596129913; bh=55Gr7W1DVaBV8xL/gT4zBOhNDuCawxJz+/5DcSTHMbY=; h=Date:From:To:Subject:From; b=DOzcKLcuvDwGrf2217o+eVMNf0Z802lrW7qyWMseAcBGqPQziVhrgErnr4g0m6z4j wOIDbkPdIgLKyTj1DDB0XOLDWsL1kr2bB7HgrGQrJ2DTsuIWiu+C6BxUqLbEs9Bqo1 O47U5cMpFJs/jyywk/u9xZzR7VZsZf9H5cECLjXk= Date: Thu, 30 Jul 2020 10:25:13 -0700 From: pip25 To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 80d4ed: fix: assume PKCS-8 SSL key format by default (#181... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master=0D Home: https://github.com/pgjdbc/pgjdbc=0D Commit: 80d4ed34c99d51dd8b06df00baad0265fd620fec=0D https://github.com/pgjdbc/pgjdbc/commit/80d4ed34c99d51dd8b06df00baa= d0265fd620fec=0D Author: pip25 =0D Date: 2020-07-30 (Thu, 30 Jul 2020)=0D =0D Changed paths:=0D M pgjdbc/src/main/java/org/postgresql/ssl/LibPQFactory.java=0D =0D Log Message:=0D -----------=0D fix: assume PKCS-8 SSL key format by default (#1819) (#1832)=0D =0D check for the most common PKCS-12 extensions (.p12, .pfx) and assume=0D PKCS-8 if these do not match=0D =0D closes #1819=0D =0D Co-authored-by: Papp Istv=C3=A1n P=C3=A9ter =0D =0D =0D