<div class="markdown">
<p dir="auto">On 7 Sep 2013, at 11:59, <a href="mailto:list@felix-kling.de">list@felix-kling.de</a> wrote:</p>

<blockquote>
<p dir="auto">On 6 Sep 2013, at 21:31, Benny Kjær Nielsen wrote:</p>

<blockquote>
<p dir="auto">MailMate expects the GPGTools install and is hardcoded to the location used by GPGTools. Unfortunately GPGTools recently changes its installer. MailMate expects to find gpg2 here:</p>

<pre><code>/usr/local/bin/gpg2
</code></pre>

<p dir="auto">[...]</p>
</blockquote>

<p dir="auto">That explains at least why it didn't work with GPGTools at all. Though it should have worked with the homebrew version, shouldn't it?</p>
</blockquote>

<p dir="auto">Depends on where homebrew installs gpg2 (I haven't tried homebrew myself).</p>

<blockquote>
<p dir="auto">I guess it really has something to do with my gpg-agent setup, since it seems to work fine for other people.</p>
</blockquote>

<p dir="auto">You might be right.</p>

<blockquote>
<p dir="auto">Interestingly though, after creating the symlink to the GPGTools version, MailMate still tells me that the signing process fails, with this output:</p>

<p dir="auto">USERID<em>HINT 9C791B1A2ADC63E5 Felix Kling <…><br>
 NEED</em>PASSPHRASE 9C791B1A2ADC63E5 9C791B1A2ADC63E5 17 0<br>
 GOOD<em>PASSPHRASE<br>
 BEGIN</em>SIGNING H2</p>

<p dir="auto">This confuses me even more!</p>
</blockquote>

<p dir="auto">Me too, but even though I've implemented support for OpenPGP via <code>gpg2</code> I don't really have much experience with the types of problems which may be the result of non-standard setups.</p>

<p dir="auto">You can enable some related debug output from MailMate like this:</p>

<pre><code>defaults write com.freron.MailMate MmDebugSecurity -bool YES
</code></pre>

<p dir="auto">Then launch MailMate from the Terminal to see the output when MailMate tries to sign a message:</p>

<pre><code>/Applications/MailMate.app/Contents/MacOS/MailMate
</code></pre>

<p dir="auto">Most importantly, MailMate outputs the <code>gpg2</code> command with arguments. Based on that you might be able to reproduce the problem in a Terminal window without using MailMate.</p>

<p dir="auto">-- <br>
Benny</p>

</div>