oscerd opened a new pull request, #31126: URL: https://github.com/apache/camel/pull/31126
### Summary - Update `XMLSecurityDataFormat.checkEncryptionAlgorithm(...)` so that when `xmlCipherAlgorithm` is configured to an AES-GCM algorithm (including the default `AES_256_GCM`), `unmarshal()` rejects incoming `EncryptedData` payloads using non-GCM data ciphers unless a non-GCM `xmlCipherAlgorithm` is explicitly configured (consistent with how `keyCipherAlgorithm` already restricts `RSA_v1dot5`). - Update `EncryptionAlgorithmTest` and `XmlSecurityConstantNameTest` where the receiving `XMLSecurityDataFormat` previously omitted `xmlCipherAlgorithm` while receiving `AES_128` payloads, and add unit tests covering both asymmetric and symmetric rejection of non-GCM payloads under a GCM configuration. - Update `xmlSecurity-dataformat.adoc` (and regenerated `camel-catalog` mirror) and add a migration note to `camel-4x-upgrade-guide-4_25.adoc`. _Antigravity on behalf of oscerd_ -- 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]
