pacman-key Command Examples

Wrapper script for GnuPG used to manage pacman's keyring. See also: pacman. More information: https://manned.org/pacman-key.

sudo pacman-key --init

sudo pacman-key --populate {{archlinux}}

pacman-key --list-keys

sudo pacman-key --add {{path/to/keyfile.gpg}}

sudo pacman-key --recv-keys "{{uid|name|email}}"

pacman-key --finger "{{uid|name|email}}"

sudo pacman-key --lsign-key "{{uid|name|email}}"

sudo pacman-key --delete "{{uid|name|email}}"