You are here: Home Linux Security Linux : How to export public key for others/friends or your recipients
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 473
Total Pages: 286
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 19.04.2012 15:21
 

Linux : How to export public key for others/friends or your recipients

by Wyden Silvan last modified 25.03.2011 16:20

Source: http://www.cyberciti.biz/tips/linux-how-to-export-public-key-for-othersfriends-or-your-recipients.html

1) Login to your shell account

2) Use --export option to export your public key in text file
$ gpg --export –a > my.key
OR
$ gpg --export -a | mail -s "My key" friend@domain.com

Where
-a --armor : Create ASCII armored output.
--export : Export the key for sharing

First command write output to file my.key and second directly sends an email to your friend. Once my.key delivered to friend, he/she need to import it using the following command (aka adding keys to your keyring):
$ gpg --import my.key