-
Notifications
You must be signed in to change notification settings - Fork 547
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
Add support for recording creation timestamp for cosign attest #3797
Conversation
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.
Thanks!
fyi @jonjohnsonjr
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3797 +/- ##
==========================================
- Coverage 40.10% 37.67% -2.44%
==========================================
Files 155 201 +46
Lines 10044 12444 +2400
==========================================
+ Hits 4028 4688 +660
- Misses 5530 7180 +1650
- Partials 486 576 +90 ☔ View full report in Codecov by Sentry. |
can you rerun |
Head branch was pushed to by a user without write access
Signed-off-by: Zsolt Horvath <[email protected]> Signed-off-by: Zsolt Horvath <[email protected]>
Signed-off-by: Zsolt Horvath <[email protected]>
I have made a change so attest.go and cosign_attest.md has the same example line at the top, after this ./cmd/help/verify.sh should complete without an error |
…ore#3797) * add support for recording creation timestamp for cosign attest Signed-off-by: Zsolt Horvath <[email protected]> Signed-off-by: Zsolt Horvath <[email protected]> * Fix cosign attest example in doc/cosign_attest.md Signed-off-by: Zsolt Horvath <[email protected]> --------- Signed-off-by: Zsolt Horvath <[email protected]> Signed-off-by: Zsolt Horvath <[email protected]> Co-authored-by: Zsolt Horvath <[email protected]>
Summary
cosign sign
, leaving the timestamp empty for attestations. It is a huge problem for oci registries allowing automatic cleanup policies as they won't be able to tell the creation time. GitLab for example is reporting 23 years of age for uploaded attestationsRelease Note
cosign attest
Documentation
attach an attestation to a container image and honor the creation timestamp of the signature
References