2021-09-06 14:43:08 +01:00
|
|
|
# pacman-key
|
|
|
|
|
|
|
|
> Wrapper script for GnuPG used to manage pacman's keyring.
|
2023-05-14 12:41:37 +01:00
|
|
|
> See also: `pacman`.
|
2021-09-06 14:43:08 +01:00
|
|
|
> More information: <https://man.archlinux.org/man/pacman-key>.
|
|
|
|
|
pages*: fix brand and technical names (#12145)
* pages*: fix Python, Java, pacman, apt, *zip*, xz, tar, git, RPM and grep names
* pages*: fix brand and technical names
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
* fluxctl, gitmoji, in-toto-run, osv-scanner: replace `git` with Git
* bzegrep: enclose egrep with backticks
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-force-clone: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* gitwatch: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* hub-init: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* pages.*: use Linux instead of GNU/Linux
---------
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-30 04:46:32 +00:00
|
|
|
- Initialize the `pacman` keyring:
|
2021-09-06 14:43:08 +01:00
|
|
|
|
|
|
|
`sudo pacman-key --init`
|
|
|
|
|
2022-10-17 15:39:25 +01:00
|
|
|
- Add the default Arch Linux keys:
|
2021-09-06 14:43:08 +01:00
|
|
|
|
|
|
|
`sudo pacman-key --populate {{archlinux}}`
|
|
|
|
|
|
|
|
- List keys from the public keyring:
|
|
|
|
|
|
|
|
`pacman-key --list-keys`
|
|
|
|
|
|
|
|
- Add the specified keys:
|
|
|
|
|
|
|
|
`sudo pacman-key --add {{path/to/keyfile.gpg}}`
|
|
|
|
|
|
|
|
- Receive a key from a key server:
|
|
|
|
|
|
|
|
`sudo pacman-key --recv-keys "{{uid|name|email}}"`
|
|
|
|
|
|
|
|
- Print the fingerprint of a specific key:
|
|
|
|
|
|
|
|
`pacman-key --finger "{{uid|name|email}}"`
|
|
|
|
|
|
|
|
- Sign an imported key locally:
|
|
|
|
|
|
|
|
`sudo pacman-key --lsign-key "{{uid|name|email}}"`
|
|
|
|
|
|
|
|
- Remove a specific key:
|
|
|
|
|
|
|
|
`sudo pacman-key --delete "{{uid|name|email}}"`
|