1
0
mirror of synced 2025-12-19 23:08:13 +08:00
Files
WxJava/weixin-java-pay
copilot-swe-agent[bot] 6ac60cf640 Fix private key format detection for PEM strings in WeChat Pay config
- Add detection for PEM format strings vs Base64 format in loadConfigInputStream
- PEM format strings (with -----BEGIN/-----END headers) are now passed through directly
- Base64 format strings continue to be decoded as before
- Fixes InvalidKeySpecException when using setPrivateKeyString() with PEM content
- Resolves JDK 21 compatibility issue with WeChat Pay v3 API initialization

Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
2025-09-22 16:47:08 +00:00
..
2025-07-16 20:05:09 +08:00