taoran92 opened a new pull request, #10468:
URL: https://github.com/apache/paimon/pull/10468
### Purpose
Fixes #10467.
Use explicit UTF-8 for signing-key derivation and HMAC input in
`DLFDefaultSigner`, so signatures do not depend on the JVM default charset.
This preserves existing UTF-8 behavior and aligns with the other DLF signers.
### Tests
Added known-answer tests in `DLFRequestSignerTest` for ASCII input, a
non-ASCII secret, and non-ASCII HMAC input.
- UTF-8 JVM: `DLFRequestSignerTest` and `DLFOpenApiV4SignerTest` (36 tests).
- ISO-8859-1 JVM: `DLFRequestSignerTest` (18 tests).
- Both runs use the standard Maven checks without `fast-build`.
```sh
mvn -o -pl paimon-api -DwildcardSuites=none \
-Dtest=DLFRequestSignerTest,DLFOpenApiV4SignerTest \
-DextraJavaTestArgs=-Dfile.encoding=UTF-8 test
mvn -o -pl paimon-api -DwildcardSuites=none \
-Dtest=DLFRequestSignerTest \
-DextraJavaTestArgs=-Dfile.encoding=ISO-8859-1 test
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]