Gpg: Difference between revisions
From DWIKI
m (→Cheatsheet) |
|||
Line 23: | Line 23: | ||
==Export private key== | ==Export private key== | ||
gpg --export-secret-key me@example.com > private.key | gpg --export-secret-key me@example.com > private.key | ||
==Import private key== | |||
gpg --import private.key |
Revision as of 13:36, 1 June 2016
GNU Privacy Guard
Links
- https://www.gnupg.org/ Homepage]
- GPG HOWTO
- GPG Cheat sheet
Cheatsheet
What is my key ID?
gpg --list-keys you@example.com
The bit after the / in the pub line!
Generate key
gpg --gen-key
Export public key
gpg --export me@example.com > public.key
Export private key
gpg --export-secret-key me@example.com > private.key
Import private key
gpg --import private.key