# Keyring

## Command quick usage list:
    `sudo pacman -S archlinux-keyring`
    `sudo pacman-key --init`
    `sudo pacman-key --populate archlinux`

## Explain section
### pacman-key

`pacman-key -h` help command to see every operations
-a, –add: Add the specified keys (empty for stdin)
-d, –delete: Remove the specified keyids
-e, –export: Export the specified or all keyids
-f, –finger: List fingerprint for specified or all keyids
-l, –list-keys: List the specified or all keys
-r, –recv-keys: Fetch the specified keyids
-u, –updatedb: Update the trustdb of pacman
-v, –verify: Verify the file(s) specified by the signature(s)

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.

### sudo pacman -S archlinux-keyring
This is main command to update keyring to your operation system

### sudo pacman-key --init
This command initilize properly the pacman keyring and they has required access permissions. It also generates a unique OpenPGP key for the user.

### sudo pacman-key --populate archlinux
This command commit these keys under your master key which is on your operation system
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9