Table of Contents

PGP

A collection of PGP knowledge

GPG

GPG specific info

Manual

GPG-Commands

Command line options

Command Description Example
–dump-options Print all possible command line options
–expert Unlock expert options
-s, –sign Make a signature
-e, –encrypt Encrypt data
-k, –list-keys List keys
-K, –list-secret-keys List secret keys
–edit-key
–edit-card
-o, –output FILE Write output to FILE
–generate-key
–full-generate-key More options during generation

Interactive options

Generate key

For all options: gpg –expert –full-generate-key

For simple and default options: gpg –generate-key

Misc

A detached signature is when the signature and the message is kept separate.

Verify a detached signature with gpg –verify <path to signature> <path to data>