Andrea Cosentino created CAMEL-23098:
----------------------------------------

             Summary: Camel-PQC: Wire KeyLifecycleManager into PQC producer to 
enable key lifecycle operations
                 Key: CAMEL-23098
                 URL: https://issues.apache.org/jira/browse/CAMEL-23098
             Project: Camel
          Issue Type: Improvement
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.19.0


PQCOperations.java defines 11 key lifecycle operations (generateKeyPair, 
exportKey, importKey, rotateKey, getKeyMetadata, listKeys, 
getRemainingSignatures, getKeyState, deleteKeyState, expireKey, revokeKey), but 
PQCProducer.process() routes them all to the default branch which throws 
IllegalArgumentException("Unsupported operation").

The KeyLifecycleManager interface and its 3 implementations 
(FileBasedKeyLifecycleManager, AwsSecretsManagerKeyLifecycleManager, 
HashicorpVaultKeyLifecycleManager) exist in the lifecycle package but are never 
wired into the producer or configuration. PQCConfiguration has no field for a 
KeyLifecycleManager.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to