
Use the next command to generate a short form of the key fingerprint.Ĭopy the text after the rsa4096/ and before the date generated and use the copied id in step 13: gpg -K -keyid-format SHORT You need a Passphrase to protect your secret key.
#GPG MAIL MAC SOFTWARE#
You need a user ID to identify your key the software constructs the user IDįrom the Real Name, Comment and Email Address in this form:Ĭhange (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o Please specify how long the key should be valid.
#GPG MAIL MAC PASSWORD#
Once you have entered your options, pinentry will prompt you for a password for the new PGP key. Run the following command to generate your key, note we have to use the -expert flag so as to generate a 4096-bit key. You will need to modify the permissions to 700 to secure this directory.
#GPG MAIL MAC UPDATE#
Step 6: Update the Permissions on your ~/.gnupg Directory # if using bash through homebrew over ssh use Step 5: Restart your Terminal or source your ~/.*rc file # on the built-in bash on macos use

# This tells gpg to use the gpg-agentĪppend the following to your ~/.bash_profile or ~/.bashrc or ~/.zshrc. Step 3: Update or Create ~/.gnupg/gpg.conf # echo 'pinentry-program $(brew -prefix)/bin/pinentry-mac' > ~/.gnupg/nf # The below configuration used to be added within that directory but is no longer required and breaks on M1-based Macs If this directory does not exist, create it. Most of our users are already running the latest version of GPG Suite, but everyone who hasn't upated to GPG Suite 2015.06 yet, should update to the latest GPG Suite as soon as possible.We use the Homebrew package manager for this step. This security issue has been fixed in GPG Suite 2015.06. We would especially like to thank Bruno Bierbaumer for bringing a bug in one of Libmacgpg's subcomponents to our attention which could be abused by a local user to execute shell commands with root privileges (CVE-2014-4677). We'll include it in our nightly builds for early testers once available. Work on OS X El Capitan is progressing very well and a first test version will be ready soon. Since this particular bug also affected other components, all of our tools should now be even more reliable. Well, we're happy to say, we've squashed this bug! The only workaround was to restart your mac. Many of you might have experienced Mail.app no longer signing messages and reporting a "No pinentry" error. We are however very happy to say, that one of our longest standing bugs has been squashed.

Our newest release is mostly a bug fixing release for the most pressing issues.
