Skip to content

Conversation

jakobmoellerdev
Copy link
Contributor

What this PR does / why we need it

  • Added support for new descriptor encoding types, including jsonNormalisation/v4alpha1 and hashed variants (sha256, sha512), replacing ocm hash cv
  • Extended the encodeDescriptors function to handle new encoding types.
  • Integrated a comprehensive test for normalised and hashed descriptor encoding.
  • Updated CLI output flags and documentation to reflect new encoding options.

Which issue(s) this PR fixes

This eventually completely supercedes ocm hash cv which is needed to get us a signed component version (we need the hash that we output here later to sign our component version and verify its integrity)

- Added support for new descriptor encoding types, including `jsonNormalisation/v4alpha1` and hashed variants (`sha256`, `sha512`), replacing ocm hash cv
- Extended the `encodeDescriptors` function to handle new encoding types.
- Integrated a comprehensive test for normalised and hashed descriptor encoding.
- Updated CLI output flags and documentation to reflect new encoding options.

Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
@github-actions github-actions bot added kind/feature new feature, enhancement, improvement, extension size/m Medium labels Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature new feature, enhancement, improvement, extension size/m Medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant