Skip to content

Commit

Permalink
Add verification docs (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy authored Feb 3, 2025
1 parent d6ddfc1 commit e9f6841
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ Running `foundryup` will automatically install the latest stable version of the
> ℹ️ **Note**
> If you're using Windows, you'll need to install and use [Git BASH](https://gitforwindows.org/) or [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) as your terminal, since Foundryup currently doesn't support Powershell or Command Prompt (Cmd).
#### Verify integrity and provenance of binaries

Foundry binaries are attested by using [GitHub artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds). It is strongly recommended to verify the binaries installed using `foundryup` in order to check that they were built and distributed from Foundry repository.
For example, `forge` binary integrity and provenance can be verified by running:
```shell
$ gh attestation verify --owner foundry-rs $(which forge)

✓ Verification succeeded!

The following 1 attestation matched the policy criteria

- Attestation #1
- Build repo:..... foundry-rs/foundry
- Build workflow:. .github/workflows/release.yml@refs/tags/stable
- Signer repo:.... foundry-rs/foundry
- Signer workflow: .github/workflows/release.yml@refs/tags/stable
```

### Building from Source

#### Prerequisites
Expand Down

0 comments on commit e9f6841

Please sign in to comment.