-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix implicit version handling of an artifact identity #1026
fix implicit version handling of an artifact identity #1026
Conversation
Would you mind separating this into
I will continue reviewing the existing fix for the implicit version handling |
e723f76
to
6981451
Compare
e1b5515
to
05cbf1b
Compare
unified handling of modification of elements ocm hash tests generate reference doc revert oci related changes
…omponent-model#1026)" This reverts commit 782970c.
What this PR does / why we need it
The defaulting of the extraIdentity did only work, if there was an identity map already set.
So far the version was implicutly added to the extraIdentity of a CV if the rest is not
unique. In the future the extraIdentity should be explicitly set to be unique. Therefore,
the version was now implicitly added to the extraIdentity. This has two problems:
To be comparable with older signed component versions, such defaulting may only be done
if the content of a component version is changed, otherwise the signature would be brocken.
Which issue(s) this PR fixes