gitlabEdit

badge-checkAttestations

Verifying your downloaded files...

You can verify the integrity of all the release assets in any of our projects (whether it's a binary release or a documentation) using the two methods:

  • GitHub Attestations

  • Manual Hashing

Attestations

GitHub have recently introduced a new feature that allows you to verify a binary artifact that a workflow has generated, called the Attestationsarrow-up-right. To verify your download, once you've downloaded one of the ZIP files, follow these steps:

1

Install GH CLI

Install GH CLI 2.49.0arrow-up-right or higher.

2

Sign in to GH CLI

Sign in to your GitHub account using gh auth login.

3

Verify the attestation

Run this command: gh attestation verify <version>-<type>.zip --owner Aptivi.

You'll need to replace:

  • <version>: Version of a project that you've downloaded.

  • <type>: Type of a ZIP download, such as bin and doc.

4

Verify output

If everything is OK, you should see the below message, such as one for Nitrocid KS 0.1.0.10:

Loaded digest sha256:6030eb1eb660f336d8b070202c598e8f51e50c8b9ca9084f30aa8d40ecbb996f for file://0.1.0.10-bin-lite.zip
Loaded 1 attestation from GitHub API
✓ Verification succeeded!

sha256:6030eb1eb660f336d8b070202c598e8f51e50c8b9ca9084f30aa8d40ecbb996f was attested by:
REPO               PREDICATE_TYPE                  WORKFLOW
Aptivi/NitrocidKS  https://slsa.dev/provenance/v1  .github/workflows/prepdraft.yml@refs/tags/v0.1.0.10
circle-exclamation

Manual hashing

After you've downloaded the ZIP file, follow these steps:

1

Open the project release page

Open the appropriate release page that matches your version.

2

Find a file in the hash sums list

Look for a file that you've downloaded from the list of expected hash sums.

3

Verify the SHA256 sum

Verify the SHA256 sum using a preferred tool of your choice. In CLI, use sha256sum against the file if you're running on Linux, or use Get-FileHash -Algorithm sha256 in PowerShell against the file if you're running on Windows.

4

Compare the output

Verify that the hashes match using the available tools. If hashes match, your download is fine. Otherwise, you'll have to download the file again.

Last updated