Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gpgusage [2014/10/26 01:52] (current)
Line 1: Line 1:
 +== GPG Usage and Info ==
  
 +
 +  * To Create a GPG key:
 +<​code>​
 +gpg --gen-key
 +</​code>​
 +
 +  * To list existing keys:
 +<​code>​
 +[mnain@nbxtdemo ~]$ gpg --list-keys
 +/​home/​mnain/​.gnupg/​pubring.gpg
 +------------------------------
 +pub   ​2048R/​45EAA941 2013-07-01
 +uid                  Madan Nain (Personal Key) <​mnain@yahoo.com>​
 +sub   ​2048R/​84D91D34 2013-07-01
 +
 +</​code>​
 +
 +  * To send a key to a public server (pgp.mit.edu)
 +<​code>​
 +gpg --keyserver pgp.mit.edu --send-keys 45EAA941
 +gpg: sending key 45EAA941 to hkp server pgp.mit.edu
 +</​code>​
 +
 +  * To receive a key from a public server (pgp.mit.edu)
 +<​code>​
 +[mnain@nbxtdemo ~]$ gpg --keyserver pgp.mit.edu --recv-keys 0xa4ba174d49e373e5
 +gpg: requesting key 49E373E5 from hkp server pgp.mit.edu
 +gpg: key 49E373E5: public key "Madan Nain <​mnain@yahoo.com>"​ imported
 +gpg: Total number processed: 1
 +gpg:               ​imported:​ 1
 +
 +</​code>​
 +
 +
 +----
 +  * [[imaging|Back to SysAdmin/​Imaging]]
gpgusage.txt ยท Last modified: 2014/10/26 01:52 (external edit)
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0