Verifying CLI standalone binaries
You can verify both the shasum of downloaded binaries and their GPG signatures.
The download location on downloads.snyk.io
contains a file called sha256sums.txt.asc
. You can download it directly: https://downloads.snyk.io/cli/stable/sha256sums.txt.asc
or for a specific version like https://downloads.snyk.io/cli/v1.666.0/sha256sums.txt.asc
.
To check that a downloaded file matches the checksum, use a sha256sum
command, for example:
If you want to verify Snyk CLI standalone binaries against Snyk CLI GPG key, first import the CPG key:
Then verify the file is signed with:
The command output should look like the following:
Last updated