2021-10-16 12:22:38 -05:00
|
|
|
# archlinux-keyring
|
2018-03-22 04:15:59 -06:00
|
|
|
|
2021-10-16 12:22:38 -05:00
|
|
|
The archlinux-keyring project holds PGP packet material and tooling
|
|
|
|
(`keyringctl`) to create the distribution keyring for Arch Linux.
|
|
|
|
The keyring is used by pacman to establish the web of trust for the packagers
|
|
|
|
of the distribution.
|
2018-03-22 04:15:59 -06:00
|
|
|
|
2021-10-16 12:22:38 -05:00
|
|
|
The PGP packets describing the main signing keys can be found below the
|
2021-10-19 18:41:04 -05:00
|
|
|
[keyring/main](keyring/main) directory, while those of the packagers are located below the
|
|
|
|
[keyring/packager](keyring/packager) directory.
|
2018-03-22 04:15:59 -06:00
|
|
|
|
2021-10-16 12:22:38 -05:00
|
|
|
## Requirements
|
2018-03-22 04:15:59 -06:00
|
|
|
|
2021-10-16 12:22:38 -05:00
|
|
|
The following packages need to be installed to be able to create a PGP keyring
|
|
|
|
from the provided data structure and to install it:
|
2018-10-03 13:17:40 -05:00
|
|
|
|
2021-10-16 12:22:38 -05:00
|
|
|
* make
|
|
|
|
* python
|
|
|
|
* sequoia-sq
|
2018-10-03 13:17:40 -05:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
## Usage
|
2018-03-22 04:15:59 -06:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
Import of a new packager key
|
2021-10-16 12:22:38 -05:00
|
|
|
|
|
|
|
```bash
|
2021-10-20 13:13:48 -05:00
|
|
|
./keyringctl import <username>.asc
|
|
|
|
# alternatively override the username otherwise derived from the filename
|
|
|
|
./keyringctl import --name <username> <file>
|
2021-10-16 12:22:38 -05:00
|
|
|
```
|
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
Updates to existing packager keys
|
2021-10-16 12:22:38 -05:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
```bash
|
|
|
|
# username is automatically derived from the fingerprint
|
2021-10-20 13:15:42 -05:00
|
|
|
./keyringctl import <file_or_directory>...
|
2021-10-20 13:13:48 -05:00
|
|
|
```
|
2021-10-16 12:22:38 -05:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
Import of a new main key
|
2021-10-16 12:22:38 -05:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
```bash
|
|
|
|
# same options as packager key except mandatory --main
|
|
|
|
./keyringctl import --main <username>.asc
|
|
|
|
```
|
2021-10-16 12:22:38 -05:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
To install archlinux-keyring system-wide use the included `Makefile`:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Contribute
|
2021-10-16 12:22:38 -05:00
|
|
|
|
2021-10-20 13:13:48 -05:00
|
|
|
Read our [contributing guide](CONTRIBUTING.md) to learn more about guidelines and
|
|
|
|
how to provide fixes or improvements for the code base.
|
2021-10-16 12:22:38 -05:00
|
|
|
|
|
|
|
## Releases
|
|
|
|
|
|
|
|
[Releases of
|
|
|
|
archlinux-keyring](https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/tags)
|
|
|
|
are created by its current maintainer [Christian
|
|
|
|
Hesse](https://gitlab.archlinux.org/eworm). Tags are signed using the PGP key
|
|
|
|
with the ID `02FD1C7A934E614545849F19A6234074498E9CEE`.
|
|
|
|
|
|
|
|
To verify a tag, first import the relevant PGP key:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
gpg --auto-key-locate wkd --search-keys eworm@archlinux.org
|
|
|
|
```
|
|
|
|
|
|
|
|
Afterwards a tag can be verified from a clone of this repository:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git verify-tag <tag>
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Archlinux-keyring is licensed under the terms of the **GPL-3.0-or-later** (see
|
|
|
|
[LICENSE](LICENSE)).
|