Skip to content

Commit 50ce71f

Browse files
committed
add gh/jsonl instructions
1 parent a11344d commit 50ce71f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

llvm/utils/release/github-upload-release.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,20 @@ def create_release(repo, release, tag=None, name=None, message=None):
6565
6666
## Verifying Packages
6767
68-
All packages are signed by the release managers using GPG and should be verified before use. To verify a package, first [download](https://releases.llvm.org/release-keys.asc) the keys from the LLVM website, then import them into your keyring:
68+
All packages come with a matching `.sig` or `.jsonl` file. You should use these to verify the integrity of the packages.
69+
70+
If it has a `.sig` file, it should have been signed by the release managers using GPG. Download the keys from the [LLVM website]((https://releases.llvm.org/release-keys.asc), import them into your keyring and use them to verify the file:
6971
```
7072
$ gpg --import release-keys.asc
73+
$ gpg --verify <package file name>.sig <package file name>
7174
```
72-
Then verify the package using the matching `.sig` file:
75+
76+
If it has a `.jsonl` file, use [gh](https://cli.github.com/manual/gh_attestation_verify) to verify the package:
7377
```
74-
$ gpg --verify <package file name>.sig <package file name>
78+
gh attestation verify --repo llvm/llvm-project <package file name>
79+
(if you are able to connect to GitHub)
80+
gh attestation verify --repo llvm/llvm-project <package file name> --bundle <package file name>.jsonl
81+
(using attestation file on disk)
7582
```"""
7683
).format(release=release)
7784

0 commit comments

Comments
 (0)