GNU Privacy Guard
Jump to navigation
Jump to search
gpg
General
gpg --list-keys List public keys and associated information
gpg --list-secret-keys List secret keys and associated information
Generate
gpg --full-generate-key Generate a new key pair
View
gpg <filename.asc> View key file contents
Export/Import
gpg --export-secret-keys -a <keyid> > <filename.asc> Export private gpg key
gpg --export -a <keyid> > <filename.asc> Export public gpg key
gpg --import <filename.asc> Import private gpg key
gpg --import <filename.asc> Import public gpg key