Skip to content

Instantly share code, notes, and snippets.

@owainlewis owainlewis/GPG.md
Last active Apr 18, 2019

Embed
What would you like to do?
GPG Tutorial

Quick Guide to using GPG

❯ gpg --gen-key

List keys

❯ gpg --list-keys

Export

❯ gpg --export-secret-keys --armor <fingerprint> > private.asc
❯ gpg --export --armor <fingerprint> > public.asc

Import

❯ gpg --import public.asc
❯ gpg --allow-secret-key-import --import private.asc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.