Gpg: Difference between revisions

From DWIKI
mNo edit summary
Line 7: Line 7:


=Cheatsheet=
=Cheatsheet=
==What is my key ID?==
gpg --list-keys you@example.com
The bit after the / in the pub line!
==Generate key==
==Generate key==
  gpg --gen-key  
  gpg --gen-key  

Revision as of 17:01, 17 March 2015

GNU Privacy Guard

Links

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