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

Support Time-stamping #838

Open
yizha1 opened this issue Nov 23, 2023 · 1 comment
Open

Support Time-stamping #838

yizha1 opened this issue Nov 23, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@yizha1
Copy link
Contributor

yizha1 commented Nov 23, 2023

Is your feature request related to a problem?

Signature validation will fail if signing key/certificates are expired. In this case, signers need to rotate the key/certificates in time and re-sign container images using new key/certificates. The lifetime of a signature is limited by the lifetime of a corresponding signing key/certificate.

What solution do you propose?

Time-stamping (https://www.rfc-editor.org/rfc/rfc3161) extends the trust of signature beyond the validity period of a certificate, thus signers do not need to regularly re-sign images before certificates are expired. RFC 3161 said that Time-stamping helps establish whether the image was signed before or after the certificate was compromised. However, in the real world, the compromised time is not the time of certificate revocation. The compromised time is not determined. So, the proposal is to not use Time-stamping for revocation scenarios.

What alternatives have you considered?

Currently Notation does not support Time-stamping, so signers need to regularly rotate the key/certificates in time and re-sign container images using new key/certificates. However, this process requires signers to establish a re-sign workflow, which leads to usability problems and waste of resources.

Any additional context?

There is an existing issue in roadmap repo, however this repo is not in active mode.

@yizha1 yizha1 added enhancement New feature or request triage Need to triage labels Nov 23, 2023
@yizha1 yizha1 changed the title Time-stamping Support Time-stamping Nov 23, 2023
@yizha1
Copy link
Contributor Author

yizha1 commented Nov 23, 2023

@priteshbandi @iamsamirzon @gokarnm @rgnote There have been discussions around Time-stamping for quite a long time. I would like to prioritize this feature for Notation v1.2.0 release. Any comments from your side? /cc @shizhMSFT @FeynmanZhou @patrickzheng200 @JeyJeyGao

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
Status: Todo
Development

No branches or pull requests

1 participant