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

Attest support for Singularity images #1193

Closed
tri-adam opened this issue Sep 2, 2022 · 1 comment · Fixed by #1201
Closed

Attest support for Singularity images #1193

tri-adam opened this issue Sep 2, 2022 · 1 comment · Fixed by #1201
Labels
enhancement New feature or request

Comments

@tri-adam
Copy link
Contributor

tri-adam commented Sep 2, 2022

What would you like to be added:

Support for the singularity image source in the syft attest command.

Why is this needed:

Singularity users are able to generate an SBOM from their SIF image using Syft. It's a natural next step for them to want to include the SBOM in an attestation. Although this is possible without support directly in Syft, having it directly included would simplify user workflows.

Additional context:

The behaviour at the moment:

$ syft attest singularity:alpine.sif 
2022/09/02 14:05:50 error during command execution: attest command can only be used with image sources fetch directly from the registry, but discovered an image source of "Singularity" when given "singularity:alpine.sif"
@tri-adam tri-adam added the enhancement New feature or request label Sep 2, 2022
@tri-adam
Copy link
Contributor Author

tri-adam commented Sep 2, 2022

As discussed in yesterday's community call, I'm not 100% sure what the workflow(s) should look like here.

SIF is able to store arbitrary data within the image itself, and this may well be the expected behaviour of the average Singularity user. In other words, syft attest image.sif would end up adding the attestation within image.sif.

Leveraging Rekor and/or an OCI registry to store the attestation might also be compelling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant