Question: gpg how to export public key?
Answer: Export the public key. Replace public-key.gpg with a desired name for the file and user@example.com with the email address associated with your key's user id: ...  Send the public-key. ...  The recipient should import the public key and validate it in order to use it to decrypt a message sent by you.