Blame

48816c Cave 2026-10-02 12:52:43
Keyring page creation
1
# Keyring
2
3
## Command quick usage list:
4
`sudo pacman -S archlinux-keyring`
5
`sudo pacman-key --init`
6
`sudo pacman-key --populate archlinux`
7
8
## Explain section
9
### pacman-key
10
11
`pacman-key -h` help command to see every operations
12
-a, –add: Add the specified keys (empty for stdin)
13
-d, –delete: Remove the specified keyids
14
-e, –export: Export the specified or all keyids
15
-f, –finger: List fingerprint for specified or all keyids
16
-l, –list-keys: List the specified or all keys
17
-r, –recv-keys: Fetch the specified keyids
18
-u, –updatedb: Update the trustdb of pacman
19
-v, –verify: Verify the file(s) specified by the signature(s)
20
21
It's recommended (even I don't personally usually do this) to clean system whit `sudo pacman -Scc` and `sudo pacman -Syy` commands, where first clear package cache and second update package database.
22
23
### sudo pacman -S archlinux-keyring
24
This is main command to update keyring to your operation system
25
26
### sudo pacman-key --init
27
This command initilize properly the pacman keyring and they has required access permissions. It also generates a unique OpenPGP key for the user.
28
29
### sudo pacman-key --populate archlinux
30
This command commit these keys under your master key which is on your operation system