-
Notifications
You must be signed in to change notification settings - Fork 62
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
Oras go integration #50
Conversation
This adds the ability to use built-in referrer store plugins from the sbom verifier plugin
@@ -4,7 +4,8 @@ | |||
"plugins": [ | |||
{ | |||
"name": "oras", | |||
"useHttp": true | |||
"useHttp": true, | |||
"localCachePath": "./local_oras_cache" |
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.
Is this required by oras?
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 can try in-memory copies. I was using the local cache in the event that the contents that are fetched are large.
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.
Given that this might change by the refactor that @shizhMSFT is doing we might be able to revisit this as a part of a follow up of taking the updated version of ORAS.
Discussed with @mnltejaswini and we are going to merge this. |
* Integrate oras-go library * Fixed issue with retrieving manifests * Add workaround for sbom verifier This adds the ability to use built-in referrer store plugins from the sbom verifier plugin
This PR integrates the oras-go library for retrieving artifacts from remote repositories.
There is additionally a workaround to allow plugin verifiers (sbom in this case) to utilize built-in referrer store plugins (oras in this case). This unblocks the use case of verifying signatures against sboms, but should be revisited in the future when plugin architecture is addressed.