Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ypjama committed Oct 5, 2024
1 parent 3a78737 commit 6733ac9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,23 @@ go install github.com/ypjama/conflictless-keepachangelog/cmd/conflictless@latest

Use GnuPG to verify prebuild binaries.

Go to <https://github.com/ypjama/conflictless-keepachangelog/releases/latest> and
download `*_checksums.txt` and `*_checksums.txt.sig` files as well as any binary archive you wish to verify.

```sh
# Change this to match the version you downloaded.
VERSION="x.y.z"

# Import the public key from this repository.
gpg --import 73D48E8B35873132.key
curl --silent \
https://raw.githubusercontent.com/ypjama/conflictless-keepachangelog/refs/heads/main/73D48E8B35873132.key \
| gpg --import

# Verify that the signature is good on the checksums file.
# You will get a warning about the key not being certified with a trusted signature unfortunately.
gpg --verify \
conflictless-keepachangelog_${VERSION}_checksums.txt.sig \
conflictless-keepachangelog_${VERSION}_checksums.txt
conflictless-keepachangelog_${VERSION}_checksums.txt.sig \
conflictless-keepachangelog_${VERSION}_checksums.txt

# Compute checksums and check that they match.
sha256sum --ignore-missing --check conflictless-keepachangelog_${VERSION}_checksums.txt
Expand Down

0 comments on commit 6733ac9

Please sign in to comment.