[MlMt] Use GPG from Homebrew?

Adam Liter io at adamliter.org
Tue Jul 24 22:01:19 EDT 2018


A very belated response to this:

> Okay, now I have two installations of GPG on my system, which kind of 
> sucks, but oh, well.

I don't think you need to have two separate installations. You can just 
symlink /usr/local/MacGPG2/bin/gpg2 to /usr/local/bin/gpg (or wherever 
you have GPG installed).

The only further thing you need to do, I think, is to ensure you have a 
GUI pinentry program. You can install such a program with:

brew install pinentry-mac

And then just set the "pinentry-program" in ~/.gnupg/gpg-agent.conf to 
/usr/local/bin/pinentry-mac.

As far as I can tell, that all works fine for me.

Of course, be careful using GPG with email, given the recent EFAIL 
vulnerability.

-- Adam

On 2 Sep 2015, at 16:07, Kai Großjohann wrote:

> On 2 Sep 2015, at 9:55, Benny Kjær Nielsen wrote:
>
>> On 2 Sep 2015, at 9:25, Giovanni Lanzani wrote:
>>
>>> On 1 Sep 2015, at 21:50, Kai Großjohann wrote:
>>>
>>>> is it possible to have MailMate use GPG from Homebrew?  Right now, 
>>>> Homebrew complains it can't update GPG because there is a 
>>>> non-Homebrew link in `/usr/local/bin`...
>>
>> MailMate is currently hardcoded to use `/usr/local/MacGPG2/bin/gpg2`.
>
> So actually the symlink in `/usr/local/bin` isn't needed!  So I can 
> tell HomeBrew to overwrite that symlink.
>
> Okay, now I have two installations of GPG on my system, which kind of 
> sucks, but oh, well.
>
> Kai


> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> http://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20180724/3091193c/attachment.html>


More information about the mailmate mailing list