oscerd opened a new pull request, #23914: URL: https://github.com/apache/camel/pull/23914
Backport of #23912 to `camel-4.18.x`. Aligns all three `KeyLifecycleManager` implementations in `camel-pqc` on the same JSON representation for key metadata, removing the use of Java serialization for stored metadata in `AwsSecretsManagerKeyLifecycleManager` and `HashicorpVaultKeyLifecycleManager` (consistent with `FileBasedKeyLifecycleManager`). Metadata written by previous versions is read transparently and migrated to JSON on the next update. The legacy `ObjectInputStream` reads (including the `FileBasedKeyLifecycleManager` legacy-migration paths) are constrained to the expected types, and the FileBased metadata format detection is made binary-safe. The upgrade-guide entry is added on `main` (in `camel-4x-upgrade-guide-4_18.adoc`), per the project's upgrade-guide policy, not on this maintenance branch. Testing: the `camel-pqc` key-lifecycle unit tests pass on `camel-4.18.x` (33 tests), including the new JSON round-trip and legacy-format migration tests. JIRA: https://issues.apache.org/jira/browse/CAMEL-23726 --- _Claude Code on behalf of Andrea Cosentino_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
