Skip to main content

gpg

PLEASE NOTE: I am in the process of making my notes public. This docs section is still work in progress. It currently is a summary of random tips for various things.
Found a mistake? Want to add something? Feel free to open an issue, send a pull request or an e-mail.

Source - Contributions are welcome!

General info:
Homepage
Wikipedia
Source code
Documentation
Manual
Usefull links:
Blog posts
GPG Command Cheat Sheet

Basics

Permission:
sudo chmod 0700 ~/.gnupg/

Managing keys

List GPG keys:
gpg --list-keys
Create GPG key pair:
gpg --full-generate-key
Options: RSA/RSA, 4096 bits and the expiration date of choice - IMPORTANT: Choose a secure passphrase
Change GPG key's passphrase:
gpg --passwd user@example.com
Export public key to to file:
gpg --export --armor --output example.gpg.pub user@example.com
Full GPG backup:
simply backup your GPG dir ~/.gnugp.
Export/ backup the private key:
gpg --export-secret-keys --output --armor example.gpg user@example.com
IMPORTANT: keep your private key private.

E-Mail hellofoo@ittafoovern.comcom

TODO:
placeholder