testserver: add digest support to `ArtifactServer`

Open
#519 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@wilmore11 is already working on this.

Since Oct 26, 2026.

  • #1350 by @wilmore11 — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
backend

Research direction

Start by locating the testserver ArtifactServer implementation and the method that produces an Artifact, then inspect how its fixed SHA-256 checksum is calculated and verified. Determine how the consumer can configure supported digest algorithms, including BLAKE3, and add coverage for the selected algorithms. Done means ArtifactServer can verify digests produced by the source-controller without relying on a fixed SHA-256 algorithm.

Written by the indexing model from the issue text.

Description

area/testserver enhancement

With the source-controller moving away from a fixed SHA-256 checksum in favor of a "digest", the ArtifactServer should support working with this as well.

Based on a quick scan through the code, the digest algorithm could either be an option on the server, or a parameter provided to the method which produces an Artifact. In any case, it should be a configurable option for the consumer of the library to allow verification against a set of algorithms the source-controller can produce (e.g. BLAKE3).

Dominant language
Go
Stars
63
Forks
162
Avg merge
9h 54m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fluxcd/pkg

All issues in fluxcd/pkg

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.