Skip to content

[Idea] A tool to download artifacts by checksum #1615

@justaugustus

Description

@justaugustus

I wonder if we have any interest in creating a simple go tool that can download things by checksum? It feels very much in sig-release scope.

I was thinking about something like kubernetes/kops#17240

The idea would be that you could pass hget sha256:val urls... and it would go download from the canonical URLs, check the sums etc. It's a trivial program to write and I figure artifact distribution would be so much better (particularly if we one day got it into the distros)

The "killer feature" here I think would be to also support extensions, possibly things like hget-gcs or hget-s3, or maybe a directory of extensions, so that we could fetch from local mirrors easily.

Another thing I think would be awesome is if we supported transparency logs (rekor?), so we could go from artifact name -> sha -> download from mirrors (including user configured ones and ones in rekor).

cc @cpanato

Originally posted by @justinsb in #1543

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions