Skip to content

Instantly share code, notes, and snippets.

@owainlewis owainlewis/
Last active Apr 18, 2019

What would you like to do?
GPG Tutorial

Quick Guide to using GPG

❯ gpg --gen-key

List keys

❯ gpg --list-keys


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


❯ 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.