Skip to content

Commit 97ba17b

Browse files
authored
Merge pull request cli#13112 from cli/babakks/add-pgp-fingerprints-to-install-docs
docs: include PGP key fingerprints
2 parents d0558fc + 1f94ee4 commit 97ba17b

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/install_linux.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Recommended _(Official)_
44

5+
> [!IMPORTANT]
6+
> Our Linux packages and repository metadata are signed with the following PGP key fingerprints:
7+
> - `2C6106201985B60E6C7AC87323F3D4EA75716059`
8+
> - `7F38BBB59D064DBCB3D84D725612B36462313325`
9+
>
10+
> You may be prompted to confirm the import of these keys during installation.
11+
512
### Debian
613

714
Debian packages are hosted on the [GitHub CLI marketing site](https://cli.github.com/) for various operating systems including:
@@ -33,6 +40,13 @@ sudo apt update
3340
sudo apt install gh
3441
```
3542

43+
> [!TIP]
44+
> To verify PGP keys before installing `gh`, you can run this and match the listed fingerprints with those at the top of this document:
45+
>
46+
> ```shell
47+
> curl -fsSL -o - https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --show-keys
48+
> ```
49+
3650
### RPM
3751
3852
RPM packages are hosted on the [GitHub CLI marketing site](https://cli.github.com) for various operating systems including:
@@ -46,6 +60,15 @@ RPM packages are hosted on the [GitHub CLI marketing site](https://cli.github.co
4660
4761
These packages are supported by the GitHub CLI maintainers with updates powered by [GitHub CLI deployment workflow](https://github.com/cli/cli/actions/workflows/deployment.yml).
4862
63+
> [!TIP]
64+
> During installation, you may be prompted to confirm the import of PGP keys. You can verify the keys with the list of fingerprints at the top of this document.
65+
>
66+
> To verify the PGP keys before installing `gh`, you can run the following command and match the listed fingerprints with those at the top of this document:
67+
>
68+
> ```shell
69+
> curl -fsSL -o - https://cli.github.com/packages/githubcli-archive-keyring.asc | gpg --show-keys
70+
> ```
71+
4972
#### DNF5
5073
5174
> [!IMPORTANT]

0 commit comments

Comments
 (0)