oscerd commented on PR #31350: URL: https://github.com/apache/camel/pull/31350#issuecomment-7407915739
Addressed the review feedback in commit `1e8e7cf4a501` (and consolidated #31348 and #31349 here): 1. Added `KeyAlgorithmSupport.validateRotationKeyIds(oldKeyId, newKeyId)` at the start of `rotateKey` across all five `KeyLifecycleManager` implementations (`InMemory`, `FileBased`, `Azure`, `AwsSecretsManager`, `HashicorpVault`) so `rotateKey(id, id, alg)` is rejected up front, with unit test coverage in `KeyAlgorithmSupportTest.rotationRejectsSameOldAndNewKeyId`. 2. Updated the PR title and description to cover `CAMEL-28104`, `CAMEL-28105`, and `CAMEL-28106` with the `camel-pqc - ` prefix. 3. Added an upgrade guide entry in `docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_25.adoc` noting that spec-less key generation for algorithms without a default parameter set (such as `EC`) now throws `IllegalArgumentException` and that `rotateKey` rejects equal `oldKeyId` and `newKeyId`. 4. Added `FileBasedKeyLifecycleManager` MAYO/SNOVA generation and rotation tests in `KeyAlgorithmSupportTest.fileBasedManagerGeneratesAndRotatesMayoAndSnova` (alongside the existing `@EnumSource`-equivalent loop over all `PQCSignatureAlgorithms` and `PQCKeyEncapsulationAlgorithms` and custom `IllegalArgumentException` message assertion). _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]
