GPG:Export: Difference between revisions
From Hackepedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
$ gpg --export 7482556C -a -o yashy.asc | $ gpg --export 7482556C -a -o yashy.asc | ||
Where -a means ascii encoded, and -o is what you want the output file to be called. | Where -a means ascii encoded, and -o is what you want the output file to be called. Now I can upload yashy.asc to my favourite public [[keyserver]] or send to my friend(s) that want to to communicate with. |
Latest revision as of 09:39, 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. Now I can upload yashy.asc to my favourite public keyserver or send to my friend(s) that want to to communicate with.