How to find and share your public key
Once you have created your key GPG Keychain has both, your public and secret key. Your own key shows in bold and is listed as sec/pub while your friends public keys show as pub in the Type column.
Double click any entry to open detailed information about that key. For your own sec/pub key you can renew, add or remove an expiry date for example.
We recommend uploading and verifying your key. That way it is easy for your friends to retrieve your public key.
To email your public key to a friend select menu bar > Key > Mail Public Key… or press ⇧⌘M
Mail.app will create a new draft with your public key attached. Subject and message body are already filled with an explanatory text, informing the recipient about how to handle your public key.
It is a good idea, to add your key fingerprint to your email signature. In case you do not use the key servers, consider uploading your public key as .asc file and link to that file in your email signature. There are many ways to solve key distribution - be creative, or use the key servers.
To export your public key, drag your sec/pub key to your desktop. The resulting file will contain your public key. To view your exported key in text form, open the exported file with Text Edit.
To access, copy & share your public key in text form:
- open GPG Keychain and drag the sec/pub key in question to your desktop
- a file with the .asc extension will be created containing your public key
- open the exported file with TextEdit to see your public key in text form