Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend digests #52

Merged
merged 2 commits into from
Mar 3, 2023
Merged

Extend digests #52

merged 2 commits into from
Mar 3, 2023

Conversation

jensh007
Copy link
Contributor

What this PR does / why we need it:

  • Fixes in appendix C an D
  • Provide example for digests

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:


A digest for a component version is stored along with a [signature](../D/README.md) in a
component-descriptor. A component-descriptor can have multiple signatures and with this multipe digests.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multipe -> multiple

@@ -33,7 +33,8 @@ which will the be signed with the selected signing algorithm.

*Algorith Name:* `RSASSA-PKCS1-V1_5`

After the digest for the normalised component-descriptor is calculated, it can be signed using RSASSA-PKCS1-V1_5 as signature.algorithm. The corresponding signature is stored hex encoded in signature.value with a mediaType of application/vnd.ocm.signature.rsa.
After the digest for the normalised component-descriptor is calculated, it can be signed using RSASSA-PKCS1-V1_5 as signature.algorithm. The corresponding signature is stored hex encoded in
in `signature.value` with a `mediaType` of `application/vnd.ocm.signature.rsa`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double in

@jensh007 jensh007 merged commit ed6fb15 into main Mar 3, 2023
@jensh007 jensh007 deleted the extend-digests branch March 3, 2023 13:47
jensh007 added a commit that referenced this pull request Mar 10, 2023
**What this PR does / why we need it**:

* Fixes in appendix C an D
* Provide example for digests

**Which issue(s) this PR fixes**:
Fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Write your release note:
1. Enter your release note in the below block.
2. If no release note is required, just write "NONE" within the block.

Format of block header: <category> <target_group>
Possible values:
- category:       breaking|feature|bugfix|doc|other
- target_group:   user|operator|developer|dependency
-->
```feature user

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants