Skip to content

Instantly share code, notes, and snippets.

@lichti
Last active September 22, 2015 03:50
Show Gist options
  • Save lichti/9a29f71dd86bfe54161a to your computer and use it in GitHub Desktop.
Save lichti/9a29f71dd86bfe54161a to your computer and use it in GitHub Desktop.

Import a public key:

gpg --import public.key

Import a private key:

gpg --allow-secret-key-import --import private.key

List the keys in your public key ring:

gpg --list-keys

List the keys in your secret key ring:

gpg --list-secret-keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment