Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Tue, 24 Feb 2026 12:25:21 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3942: File extension-based format detection breaks DER keys with .key suffix In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 3951404230 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2026-02-24T13:22:45Z X-GitHub-Issue: 3942 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3942#issuecomment-3951404230 Content-Type: text/plain; charset=utf-8 I don't quite like "dynamic detection" due to current lazy key loading in X509KeyManager implementation. However, it looks like the overall changes are not that devastating, so we could probably support "dynamic pem vs pk8" detection logic.