compose/internal
Nicolas De Loof 2ae22f6e29 fix(oci): verify the manifests fetched against their digest
Get returned the manifest the registry served without checking it against
the digest of the descriptor: the one of the reference when it is digested,
the one the registry announces in Docker-Content-Digest when it is a tag.
Neither is checked by containerd on this path, which doesn't go through its
content store, and GetBlob already checks what it fetches for that reason.

The extracted project cache is keyed by that digest alone, whatever the
registry, so a registry could have its content cached as the one of another
manifest, which a later load of the pinned digest, from the registry that
holds it, then returned.

Get now fails when the manifest doesn't hash to its digest, and shares the
check with GetBlob.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-11 08:52:55 +01:00
..
concurrency refactor(compose): share the bounded per-container fan-out 2026-10-29 11:59:43 +01:00
confighash refactor: move the config-hash helpers to internal/confighash 2026-10-29 08:20:15 +01:00
containerops refactor(compose): share the bounded per-container fan-out 2026-10-29 11:59:43 +01:00
depgraph refactor(compose): move the dependency graph to internal/depgraph 2026-11-05 11:42:19 +01:00
desktop refactor(desktop): fetch the Desktop API answers with one generic helper 2026-10-29 11:59:43 +01:00
engine refactor(compose): state the engine of the extracted packages once 2026-10-29 11:59:43 +01:00
experimental next release will be major version v5.x 2025-11-13 09:32:43 +01:00
images fix(down): select images before teardown 2026-11-05 11:10:26 +01:00
inspect test(events): use t.Context() in stream error tests 2026-11-03 14:25:45 +01:00
locker build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
logstream refactor(compose): move logs and attach to internal/logstream 2026-11-04 09:40:04 +01:00
memnet golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
naming refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00
oci fix(oci): verify the manifests fetched against their digest 2026-11-11 08:52:55 +01:00
paths use go-compose instead Signed-off-by: tensorworker <tensorworker@proton.me> 2026-01-15 08:24:20 +01:00
pidfile use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
progress refactor(compose): use a single event processor that discards events 2026-10-29 11:59:43 +01:00
projectloader fix(config): warn about ignored uid/gid/mode at creation, not at load 2026-11-05 09:47:51 +01:00
provider refactor(compose): use a single event processor that discards events 2026-10-29 11:59:43 +01:00
registry refactor(registry): read session expiry only from the stored claims 2026-10-21 17:15:36 +02:00
relay refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
sync refactor: add internal/concurrency for the bounded errgroup helpers 2026-10-29 10:18:58 +01:00
tracing refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
variables.go format code with gofumpt 2024-12-17 16:50:14 +01:00