SEZ9 commented on issue #13377: URL: https://github.com/apache/seatunnel/issues/13377#issuecomment-7180588275
@chovy-3012 thanks for the clear provider and packaging write-up, and for holding the implementation PR until this is agreed. **On your AES question:** please keep `AES_ENCRYPT` / `AES_DECRYPT` unchanged. Their Base64 `STRING` result is an already published SQL and storage contract, and as you noted, existing jobs store that text today. Moving AES to `BINARY` is not follow-up scope for this SM4 feature. If you want to pursue it later, it needs its own proposal with the incompatible-changes note, migration guidance, and independent cross-engine compatibility evidence. For now, please take the second option you offered: AES keeps its envelope, and the SM4 documentation states the intentional AES/SM4 difference explicitly. **On SM4 with `BINARY`:** the direction (BouncyCastle lightweight API, shaded and relocated into the transform jar) is reasonable, but it is not approved yet. Before an implementation PR, please close these remaining gaps: 1. **Version and licensing:** name the one exact `bcprov-jdk18on` version to pin (you validated 1.80, 1.85, and 1.87), and list the ASF LICENSE/NOTICE and distribution changes needed for the relocated classes. 2. **Packaged-runtime proof:** show that the published-vector, Zeta, and Calcite cases execute against the shaded and relocated artifact in the packaged runtime, not an unshaded test classpath. 3. **Binary contract proof:** show the same raw bytes and the same observable binary type through the Zeta dispatcher and the Calcite `byte[]` bridge, and confirm that no secrets or derived key material appear in logs, exceptions, or diagnostics. Once those are documented here and reviewed, a focused SM4 PR can be assessed on its own merits. <!-- streview-comment:2622 --> -- 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]
