openziti / ziti

The parent project for OpenZiti. Here you will find the executables for a fully zero trust, application embedded, programmable network @OpenZiti
https://openziti.io
Apache License 2.0
2.39k stars 141 forks source link

Add Sha256 Checksum to release files #769

Open emoscardini opened 2 years ago

emoscardini commented 2 years ago

Wondering if it would be possible to add a checksum for the release binaries.

For example, the binary release: ziti-darwin-amd64-0.25.13.tar.gz

Could the pipeline create a ziti-darwin-amd64-0.25.13.tar.gz.sha256 file containing the checksum?

qrkourier commented 2 years ago

Yes, and this could be a sidecar artifact too (as opposed to checking it in to the repo) with exactly the same name plus the sha256sum suffix .sha256

qrkourier commented 2 years ago

This ought to do it if you can work with all the checksums in a single file like checksum.txt: https://github.com/marketplace/actions/generate-checksum

qrkourier commented 1 month ago

Publish sha256sum-compatible hashes as release artifacts for these repos: