forked from eth-educators/ethstaker-deposit-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the use of GPG release signatures with GitHub attestations (e…
- Loading branch information
Showing
3 changed files
with
15 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,19 +27,18 @@ For other installation options, including building with python or virtualenv and | |
|
||
## Step 2: Verify the Installation | ||
|
||
1. Make sure you have GPG installed. | ||
1. Make sure you have [the GitHub CLI installed](https://cli.github.com/). | ||
|
||
2. Make sure you have the `[email protected]` public key by running | ||
```sh | ||
gpg --keyserver keys.openpgp.org --search-keys '[email protected]' | ||
``` | ||
2. Download [the associated attestation](https://github.com/eth-educators/ethstaker-deposit-cli/attestations) for the archive you downloaded in Step 1. | ||
|
||
3. Verify the signature file against the corresponding file but be sure to replace the contents with the exact file name: | ||
3. Verify the attestation file against the corresponding file but be sure to replace the contents with the exact file name: | ||
```sh | ||
gpg --verify staking_deposit-cli-***.asc staking_deposit-cli-*** | ||
gh attestation verify ethstaker_deposit-cli-*******-***.*** --owner eth-educators --bundle ./eth-educators-ethstaker-deposit-cli-attestation-*******.sigstore.json | ||
``` | ||
|
||
4. You should see `Good signature from "EDC Security <[email protected]>"` in the output **otherwise do not continue**. | ||
This step requires you to be online. If you want to perform this offline, follow [these instructions from GitHub](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/verifying-attestations-offline). | ||
|
||
4. You should see `✓ Verification succeeded!` in the output **otherwise do not continue**. | ||
|
||
## Step 3: Usage | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters