helm/pkg/downloader
Evans Mungai ee018608f6
Some checks failed
build-test / build (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
golangci-lint / golangci-lint (push) Has been cancelled
release / release (push) Has been cancelled
release / canary-release (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
fix: handle OCI digest algorithm prefix in chart downloader (#31601)
* fix: strip digest algorithm prefix before hex decoding

OCI references with tag+digest (e.g., chart:1.0@sha256:abc...) failed with "invalid byte" error because the sha256: prefix was passed to hex.DecodeString().

Signed-off-by: Evans Mungai <mbuevans@gmail.com>

* Add cmd test for OCI references with tag+digest

Signed-off-by: Evans Mungai <mbuevans@gmail.com>

* Move oci registry push result to a struct

Signed-off-by: Evans Mungai <mbuevans@gmail.com>

* Review comments from PR review

Signed-off-by: Evans Mungai <mbuevans@gmail.com>

* Fix failing test

Signed-off-by: Evans Mungai <mbuevans@gmail.com>

---------

Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2026-02-20 16:58:32 +00:00
..
testdata fix: correctly concat absolute URIs in repo cache 2025-05-15 20:55:08 +02:00
cache.go Updating to tested content cache 2025-08-21 14:33:51 -04:00
cache_test.go Updating to tested content cache 2025-08-21 14:33:51 -04:00
chart_downloader.go fix: handle OCI digest algorithm prefix in chart downloader (#31601) 2026-02-20 16:58:32 +00:00
chart_downloader_test.go fix: handle OCI digest algorithm prefix in chart downloader (#31601) 2026-02-20 16:58:32 +00:00
chart_downloader_windows_test.go fix(downloader): safely handle concurrent file writes on Windows 2026-02-07 19:26:59 +02:00
doc.go Bump the Go version 2023-03-22 11:29:26 -04:00
manager.go for remaining local variable case inconsistency 2025-11-07 11:41:19 +08:00
manager_test.go Move repo package to versioned directory 2025-09-02 10:19:48 -04:00