GPG:Export: Difference between revisions

From Hackepedia
Jump to navigationJump to search
No edit summary
(No difference)

Revision as of 09:38, 6 October 2005

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.