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

fix: Scrutinize references for digests posing as tags #321

Closed

Conversation

nima
Copy link
Contributor

@nima nima commented Sep 16, 2022

Signed-off-by: Nima Talebi github@nima.id.au

This change prevents a token sneaking in as though it was a tag, then later getting validated as a digest. I have not added more tests to this but that part should be easy.

Also want to find out if we can invalidate Valid Form B, since it's ambiguous and seems unnecessary. That may break clients that are today using that ambiguous form (ambiguous because it has both a tag and a digest, in which case the tag is ignored).

Resolves #271.

Signed-off-by: Nima Talebi <github@nima.id.au>
@nima nima closed this Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to OCI Artifact from ORAS Artifact
1 participant