Skip to content

Commit

Permalink
Add a note about artifact attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaskorhonen committed Jun 7, 2024
1 parent ebaa68f commit 56f179c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ curl -Lo paper-age.tar.gz https://github.com/matiaskorhonen/paper-age/releases/d
# Linux (ARM):
curl -Lo paper-age.tar.gz https://github.com/matiaskorhonen/paper-age/releases/download/v1.3.0/paper-age-aarch64-unknown-linux-gnu.tar.gz

# Verify the artifact attestation using the GitHub CLI tool (optional)
gh attestation verify paper-age.tar.gz --repo matiaskorhonen/paper-age

# Extract the files
tar -xf paper-age.tar.gz

Expand All @@ -77,6 +80,7 @@ sudo install paper-age /usr/local/bin/
# Or: sudo mv paper-age /usr/local/bin/

# macOS only: clear the quarantine flag
# This may not be required, depending on how the release was downloaded and extracted
sudo xattr -r -d com.apple.quarantine /usr/local/bin/paper-age
```

Expand All @@ -88,6 +92,10 @@ If you already have Rust installed, PaperAge can be installed with Cargo:
cargo install paper-age
```

### Artifact attestations

Starting with v1.3.1, PaperAge releases have [artifact attestations](https://github.com/matiaskorhonen/paper-age/attestations). Attestations are generated using [GitHub's tooling](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).

## Usage

```
Expand Down

0 comments on commit 56f179c

Please sign in to comment.