GPG:Export

From Hackepedia
Revision as of 09:38, 6 October 2005 by Sysadmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Once you have a GnuPG key pair, you will most likely want to export your public key.

$ gpg --list-keys
pub   1024D/7482556C 2004-08-26 [expired: 2005-08-26]
uid   Yasholomew Yashinski (When you send mail, do you use a postcard or envelope?)  <yashy@mail.yashy.com>

I can see here my key that I want to export, so I would do

$ gpg --export 7482556C -a -o yashy.asc

Where -a means ascii encoded, and -o is what you want the output file to be called.