Skip to content

docs(adr): Minor corrections to ADR 0008 and align with signing handler implementation#2353

Merged
morri-son merged 2 commits into
open-component-model:mainfrom
morri-son:fix/adr-0008-align-with-implementation
Apr 22, 2026
Merged

docs(adr): Minor corrections to ADR 0008 and align with signing handler implementation#2353
morri-son merged 2 commits into
open-component-model:mainfrom
morri-son:fix/adr-0008-align-with-implementation

Conversation

@morri-son

Copy link
Copy Markdown
Contributor

Summary

Align ADR 0008 (Signing & Verification) with the actual RSA and Sigstore handler implementations.

  • Fix consumer identity attributes: replace non-existent name with algorithm + signature
  • Fix identity types: PEM/v1alpha1RSA/v1alpha1, RSASSA-PSS/v1alpha1RSASigningConfiguration/v1alpha1
  • Fix sigstore types: sign.sigstore.dev/v1alpha1SigstoreSigningConfiguration/v1alpha1, verify.sigstore.dev/v1alpha1SigstoreVerificationConfiguration/v1alpha1
  • Fix sigstore verification identity: PEM/v1alpha1TrustedRoot/v1alpha1
  • Fix CLI flags in mermaid diagrams: --signer/--verifier--signer-spec/--verifier-spec
  • Update signer-spec/verifier-spec YAML examples to match implementation structs

Relates to: open-component-model/ocm-project#996

- 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>
@morri-son morri-son added kind/chore chore, maintenance, etc. area/documentation Documentation related labels Apr 21, 2026
@netlify

netlify Bot commented Apr 21, 2026

Copy link
Copy Markdown

Deploy Preview for ocm-website canceled.

Name Link
🔨 Latest commit 2163078
🔍 Latest deploy log https://app.netlify.com/projects/ocm-website/deploys/69e8d881615af00008f976a0

@github-actions github-actions Bot added the size/s Small label Apr 21, 2026
@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This 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

Cohort / File(s) Summary
ADR 0008 Documentation Updates
docs/adr/0008_signing_verification.md
Updated CLI examples from algorithm shorthand (--signer rsapss) to spec file references (--signer-spec ./rsapss.yaml). Renamed handler types: RSASSA-PSS handler from RSASSA-PSS/v1alpha1 to RSASigningConfiguration/v1alpha1, Sigstore handlers from sign.sigstore.dev/v1alpha1 / verify.sigstore.dev/v1alpha1 to SigstoreSigningConfiguration/v1alpha1 / SigstoreVerificationConfiguration/v1alpha1. Updated spec filenames and credential consumer identity types (RSA from PEM/v1alpha1 to RSA/v1alpha1, Sigstore from PEM-based to TrustedRoot/v1alpha1). Added algorithm and signature fields to configuration examples.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested labels

size/m

Suggested reviewers

  • jakobmoellerdev
  • matthiasbruns

Poem

🐰 Hops through the docs with specs in paw,
Where --signer-spec is now the law!
RSA and Sigstore, renamed with care,
Configuration flows drift through the air,
Identity types bloom like spring clover,
The ADR's journey is finally over! 📜✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The PR description comprehensively explains the changes, listing specific type/attribute replacements, CLI flag updates, and configuration adjustments that align the documentation with implementation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title directly relates to the main change: aligning ADR 0008 documentation with actual signing handler implementation, including corrections to type names, identity attributes, and CLI flags.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@morri-son morri-son changed the title docs(adr): align ADR 0008 with signing handler implementation docs(adr): Minor corrections to ADR 0008 and align with signing handler implementation Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Documentation related kind/chore chore, maintenance, etc. size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants