Gpg: Difference between revisions
From DWIKI
mNo edit summary |
m (→Links) |
||
Line 5: | Line 5: | ||
*[http://www.dewinter.com/gnupg_howto/english/GPGMiniHowto.html GPG HOWTO] | *[http://www.dewinter.com/gnupg_howto/english/GPGMiniHowto.html GPG HOWTO] | ||
*[http://irtfweb.ifa.hawaii.edu/~lockhart/gpg/gpg-cs.html GPG Cheat sheet] | *[http://irtfweb.ifa.hawaii.edu/~lockhart/gpg/gpg-cs.html GPG Cheat sheet] | ||
* | *https://www.phildev.net/pgp/gpg_moving_keys.html | ||
=Cheatsheet= | =Cheatsheet= |
Revision as of 19:12, 4 January 2017
GNU Privacy Guard
Links
- https://www.gnupg.org/ Homepage]
- GPG HOWTO
- GPG Cheat sheet
- https://www.phildev.net/pgp/gpg_moving_keys.html
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
FAQ
gpg: decryption failed: No secret key"
Means you're using gpg2 --use-agent, which is broken