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

Use github.com/opencontainers/go-digest for checksums #855

Closed
hiddeco opened this issue Aug 2, 2022 · 1 comment
Closed

Use github.com/opencontainers/go-digest for checksums #855

hiddeco opened this issue Aug 2, 2022 · 1 comment
Labels
area/storage Storage related issues and pull requests enhancement New feature or request

Comments

@hiddeco
Copy link
Member

hiddeco commented Aug 2, 2022

At present we are advertising a SHA2 in the Checksum field of an Artifact.

To make this more future proof, and e.g. allow people to switch from SHA2 to BLAKE3. It would be good if we changed the format of this field to match the OCI digest format (thus making it prefixed with the algo, e.g. sha256:<checksum>).

While making this change, it should be taken into account that with this allows for verification using a Verifier. In addition, it should be backwards compatible (probably replacing the backwards compatibility logic for SHA1).

@hiddeco hiddeco added enhancement New feature or request area/storage Storage related issues and pull requests labels Aug 2, 2022
@hiddeco hiddeco changed the title Use github.com/opencontainers/go-digest for checkums Use github.com/opencontainers/go-digest for checksums Aug 2, 2022
@hiddeco
Copy link
Member Author

hiddeco commented Feb 16, 2023

Solved in #1001

@hiddeco hiddeco closed this as completed Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage Storage related issues and pull requests enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant