Files
containerd/plugins
Tianon Gravi 71191c7e27 Improve support for non-canonical digests (sha512, etc)
This is all specific to the content store -- prior to this change, `ctr content fetch docker.io/tianon/test:sha512-blobs` fails with errors about `sha256` digests, and after this change it succeeds and ingests the `sha512` blobs successfully.

In the interest of full disclosure, this change was mostly authored by myself without any AI-assistance, but Claude was used to find the appropriate tests to update and to understand why the metadata service would clear out `Digest` when passing details to the content store and thus the appropriate fix being in the Writer's Commit method (re-hashing after Close when the digest algorithm was previously unknown but is known and non-canonical during Commit).  I had a very active hand in instructing Claude on exactly which changes to make and where to make them, and I spent a lot of time reviewing them to make sure I not only understand but agree with the changes that it authored.

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2026-04-21 13:17:18 -07:00
..
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2025-09-18 17:08:43 -07:00