Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:gnupg [2021/12/16 06:49] – created lamboringo | linux:gnupg [2021/12/16 06:52] (current) – lamboringo | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| gpg --decrypt example.txt.gpg | gpg --decrypt example.txt.gpg | ||
| gpg --output example.txt --decrypt example.txt.gpg | gpg --output example.txt --decrypt example.txt.gpg | ||
| - | |||
| - | |||
| === Create a key === | === Create a key === | ||
| Line 44: | Line 42: | ||
| shred -zu ~/ | shred -zu ~/ | ||
| + | === Delete key === | ||
| + | Retrieve key ID then delete | ||
| + | gpg --list-secret-keys | ||
| + | gpg --list-keys | ||
| + | gpg --delete-keys ID | ||
| + | gpg --delete-secret-keys ID | ||