-
Notifications
You must be signed in to change notification settings - Fork 45
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
Use gitoid for SoftwareArtifact integrity verification #610
Conversation
Signed-off-by: Alexios Zavras (zvr) <github@zvr.gr>
Signed-off-by: Alexios Zavras (zvr) <github@zvr.gr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with this solution as well.
I disagree with this approach. As extensively discussed in the many ( :-) ) other PRs, Issues, calls and threads gitoid is only one of multiple possible content identifier approaches. I do not believe that throwing new properties on for each new approach is a tenable or scalable solution I have not seen any identification of what is concretely broken or insufficient with the current approach where SoftwareArtifact has a contentIdentifier property of type IntegrityMethod with separate defined subclasses of IntegrityMethod for each artifact verification approach. There could be a simple What am I missing? |
Ok. From #611 it looks like part of this is just wanting to make it clear that the integrity method is for ContentIdentifier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after making the proposed change of maxcount to 2 to support SHA1 and SHA256
Co-authored-by: Jeff Schutt <87879343+jeff-schutt@users.noreply.github.com>
Based on @jeff-schutt comment in the security call, he's good with this PR now that the max cardinality has been updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the tech call, and then the following security call, this seems the best compromise. It follows the pattern of PURLs, and lets us create a content identifier class in a future release, where this could be moved.
This adds the
gitoid
property toSoftwareArtifact
so that values can be recorded and used for verification.