docs(adr): Minor corrections to ADR 0008 and align with signing handler implementation#2353
Conversation
- Fix consumer identity attributes: replace non-existent 'name' with 'algorithm' + 'signature' as used by RSA and sigstore handlers - Fix identity types: PEM/v1alpha1 -> RSA/v1alpha1, RSASSA-PSS/v1alpha1 -> RSASigningConfiguration/v1alpha1 - Fix sigstore types: sign.sigstore.dev/v1alpha1 -> SigstoreSigningConfiguration/v1alpha1, verify.sigstore.dev/v1alpha1 -> SigstoreVerificationConfiguration/v1alpha1, SigstoreOIDC/v1 -> v1alpha1 - Fix sigstore verification: PEM/v1alpha1 -> TrustedRoot/v1alpha1, public_key_pem_file -> trusted_root_json_file - Fix CLI flags in mermaid diagrams and shell examples: --signer/--verifier -> --signer-spec/--verifier-spec - Update signer-spec/verifier-spec YAML to match implementation structs Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
✅ Deploy Preview for ocm-website canceled.
|
📝 WalkthroughWalkthroughThis PR updates an Architecture Decision Record (ADR 0008) that documents signing and verification flows. The changes replace algorithm shorthand CLI flags with spec file references, rename handler type configurations for RSA and Sigstore implementations, and update the corresponding credential consumer identity types to match new handler specifications. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Align ADR 0008 (Signing & Verification) with the actual RSA and Sigstore handler implementations.
namewithalgorithm+signaturePEM/v1alpha1→RSA/v1alpha1,RSASSA-PSS/v1alpha1→RSASigningConfiguration/v1alpha1sign.sigstore.dev/v1alpha1→SigstoreSigningConfiguration/v1alpha1,verify.sigstore.dev/v1alpha1→SigstoreVerificationConfiguration/v1alpha1PEM/v1alpha1→TrustedRoot/v1alpha1--signer/--verifier→--signer-spec/--verifier-specRelates to: open-component-model/ocm-project#996