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

SBOMs in CI images are missing module digests #594

Open
imjasonh opened this issue Feb 11, 2022 · 2 comments
Open

SBOMs in CI images are missing module digests #594

imjasonh opened this issue Feb 11, 2022 · 2 comments
Assignees
Labels
lifecycle/frozen sbom Related to generation of SBOMs

Comments

@imjasonh
Copy link
Member

Also seeing this in #587

$ ci=ghcr.io/google/ko@sha256:8fa68c86562684f946e92086a6a4d1f17ee116fff32e157e68f96dbf948b0783
$ ko deps $ci --sbom=go.version-m
/ko-app/ko: go1.17.7
	path	github.com/google/ko
	mod	github.com/google/ko	(devel)	
	dep	cloud.google.com/go	v0.99.0	
	dep	github.com/Azure/azure-sdk-for-go	v55.8.0+incompatible	
	dep	github.com/Azure/go-autorest/autorest	v0.11.19	

If I build the image locally, the image it produces has module information including sums:

$ local=$(KO_DOCKER_REPO=gcr.io/imjasonh go run ./ build ./ --platform=all)
...
2022/02/11 11:01:22 Published gcr.io/imjasonh/ko-98b8c7facdad74510a7cae0cd368eb4e@sha256:73d4746ef0423a24b2e36705d5f648f8f6ed8ad2f70a74c43a1d799ea4135936
$ ko deps $local --sbom=go.version-m
/ko-app/ko: go1.17.7
	path	github.com/google/ko
	mod	github.com/google/ko	(devel)	
	dep	cloud.google.com/go	v0.99.0	h1:y/cM2iqGgGi5D5DQZl6D9STN/3dR/Vx5Mp8s752oJTY=
	dep	github.com/Azure/azure-sdk-for-go	v55.8.0+incompatible	h1:EuccMPzxu67cIE95/mrtwQivLv7ETmURi5IUgLNVug8=
	dep	github.com/Azure/go-autorest/autorest	v0.11.19	h1:7/IqD2fEYVha1EPeaiytVKhzmPV223pfkRIQUGOK2IE=
...
@imjasonh imjasonh self-assigned this Feb 11, 2022
@imjasonh
Copy link
Member Author

Also likely related to reproducibility diffs discussed in #593

@imjasonh imjasonh added the sbom Related to generation of SBOMs label Mar 28, 2022
@github-actions
Copy link

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/frozen sbom Related to generation of SBOMs
Projects
None yet
Development

No branches or pull requests

1 participant