mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 12:26:03 +02:00
pacman-key: add page (#6474)
This commit is contained in:
parent
50fe1f61c4
commit
998e548ea5
1 changed files with 36 additions and 0 deletions
36
pages/linux/pacman-key.md
Normal file
36
pages/linux/pacman-key.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# pacman-key
|
||||
|
||||
> Wrapper script for GnuPG used to manage pacman's keyring.
|
||||
> More information: <https://man.archlinux.org/man/pacman-key>.
|
||||
|
||||
- Initialize the pacman keyring:
|
||||
|
||||
`sudo pacman-key --init`
|
||||
|
||||
- Add the default ArchLinux keys:
|
||||
|
||||
`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}}"`
|
Loading…
Add table
Reference in a new issue