Goal
Enable OCM users to sign and verify component versions based on normalized descriptors, following ADR-0008 and the ComponentSignatureHandler contract.
Scope
- Implement signing for component descriptors with pluggable handlers (default:
RSASSA-PSS/v1alpha1).
- Ensure descriptors are normalized and digested before signing.
- Integrate with OCM credential graph for key resolution.
- Provide CLI support via
--signer-spec and --verifier-spec.
- Example handler: RSA-PSS using PEM-based credentials (
private_key_pem_file, public_key_pem_file).
- Recursive resolution of References (and resources) to confirm Digests as per OCM Spec
- Integrate support for filesystem configuration (working dir)
Out of Scope
- Automatic completion of missing digests (reject incomplete CVs for now)
- Two-step signing flow (
ocm add digest + pinned ocm sign).
- Full Doc generation (do manual documentation for now)
Done Criteria
Goal
Enable OCM users to sign and verify component versions based on normalized descriptors, following ADR-0008 and the
ComponentSignatureHandlercontract.Scope
RSASSA-PSS/v1alpha1).--signer-specand--verifier-spec.private_key_pem_file,public_key_pem_file).Out of Scope
ocm add digest+ pinnedocm sign).Done Criteria
ComponentSignatureHandlerplugin (Sign,Verify, credential resolution) using the handler.ocm sign componentversion,ocm verify componentversion).