hashicorp / hashicorp/packer

Support image signing

Open
#13,482 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
15.8k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

#### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.

#### Description

Would it be possible to integrate image signing?

For example, cosign allows signing of containers and binaries (respectively generic artifacts).

#### Use Case(s)

Some projects only offer amd64 images because they don't have arm64 hardware.
And vice versa, Apple Silicon MacBooks can't build amd64 images.

If signing would be integrated, two developers could contribute their own architecture to the same project while still being able to prove authenticity at the same time.

#### Potential configuration

cosign is directly usable as a Go dependency.
https://pkg.go.dev/github.com/sigstore/cosign/v2

#### Potential References

https://github.com/sigstore/cosign#working-with-other-artifacts

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.