README.md : added PGP user directory creation with proper permissions

This commit is contained in:
saundersp 2024-03-09 20:32:34 +01:00
parent f9b5f6b33b
commit 2f36dc96d9

View File

@ -181,7 +181,10 @@ root hard nofile 64000
## Verify a PGP Signature ## Verify a PGP Signature
```bash ```bash
mkdir /home/$USER/.XDG/data/gnupg
chmod 700 /home/$USER/.XDG/data/gnupg
gpg --import $PUBLIC_KEY gpg --import $PUBLIC_KEY
chmod 600 /home/$USER/.XDG/data/gnupg/$PUBLIC_KEY
gpg --verify $SIGNATURE.sig $FILE gpg --verify $SIGNATURE.sig $FILE
``` ```