<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">From: Benny Kjær Nielsen <a href="mailto:mailinglist@freron.com">mailinglist@freron.com</a><br>
Subject: Re: [MlMt] Installing gpg2 via homebrew?<br>
Date: 24 January 2019 at 23:13</p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">> I just switched the MailMate list delivery to digest – and now I get in MailMate a complaint about gpg2 which I do not have installed.</p>
</blockquote><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">There's a known bug which can make this appear even if you have not enabled OpenPGP in the Security preferences pane. This might have been triggered here too.</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">Thanks for this detail!</p>
<p dir="auto">Indeed, I do <em>not</em> have ticked OpenPGP (on none of my computers). Strange thing is, that it happens only on my laptop with High Sierra, while on the iMac with El Capitan I do not get the warning.</p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">> The Help pages say I should install it via the GPGTools, but whenever possible I try to install command line tools via Homebrew. brew lists a gpg2 formula as installable – is this save to use for MailMate? Do I have to hint to MailMate somehow where the tool is installed?</p>
</blockquote><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">I believe it works, but currently you have to symlink the path MailMate expects to find gpg2 (/usr/local/MacGPG2/bin/gpg2). Some day I'll make this more flexible.</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">How about setting the hidden preference for the path like mentioned on this list in 2015?:</p>
<pre style="border:thin solid gray; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px"><code>defaults write com.freron.MailMate environmentVariables -array '{ enabled =
:true; name = "MM_GPG"; value = "/usr/local/bin/gpg2"; }'
</code></pre>
</div>
</div>
</body>
</html>