Scroll to navigation

GPG-MAILKEYS(1) General Commands Manual GPG-MAILKEYS(1)


gpg-mailkeys - sends emails containing keys to their owners


gpg-mailkeys id...


gpg-mailkeys sends the owners of the keys listed on the command line a mail each, containing their public key. After signing, you can use this tool to send everyone the new signatures they just got.

If you're interested in encrypting the signature before it's sent, in order to verify that the associated address actually belongs to the key owner, you should check out caff




Set the name to use when sending messages
Set the email address to use when sending messages
Set the subject of the messages you send
Set the body text of the messages
Set the path to sendmail. Default: /usr/sbin/sendmail
Set arguments to pass to $SENDMAIL. This can be useful to set credentials in order to authenticate to an smtp server when using ssmtp for example.
Set the default home directory.
Set the gpg binary. Default: "gpg".
Set the default working directory for gpg. Default: "~/.gnupg".


The behavior of gpg-mailkeys can be updated through some files available in the user home directory.

Thus, ~/.gpg-mailkeysrc allows the user to overwrite the default value for the above environment variables, and any text in ~/.signature will be appended to the end of the body text of the message.




This manual page was written by Simon Richter <>.

November 23, 2010