<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div><div class="plaintext"><p dir="auto">This worked but raises more questions.
</p>
<p dir="auto">I verified that I could find gpg from the shell. In other words, it
<br />
was in my $PATH. I then fired up MailMate from an iTerm2 window—
<br />
and it still couldn't find gpg. However, the symlink in /usr/local/bin
<br />
did work. This suggests that either MailMate or something about
<br />
the application launch framework (I did 'open /Applications/MailMate.app')
<br />
is resetting the path. If the latter, perhaps there needs to be a hidden
<br />
preference for $PATH?
</p>
<p dir="auto">On 14 Jan 2021, at 17:04, Dan Pritts wrote:
</p>
<p dir="auto"></p></div><blockquote class="embedded"><div id="9C79EC6D-9C2B-47B4-BA94-DACD47B5EFCE"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Probably, whatever method you're using to set your path (shell startup files?) is not making it through to Mailmate.  <div class=""><br class=""></div><div class="">A couple minutes of searching doesn't show me how to set the environment on my actual login session.  </div><div class=""><br class=""></div><div class="">If I were in your shoes I'd symlink gpg into /usr/local/bin; Mailmate will probably find it there.</div><div class=""><br class=""></div><div class="">On Jan 14, 2021, at 10:56 AM, Steven M. Bellovin <<a href="mailto:smb@cs.columbia.edu" class="">smb@cs.columbia.edu</a>> wrote:</div><div class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class="">


<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" class="">

<div class="">
<div class=""><div class="plaintext"><p dir="auto" class="">When I receive signed messages, MailMate 5757 (on Big Sur) says "OpenPGP: Unable to locate the command (gpg) needed". However, it is there:
</p><p dir="auto" class="">     $ which gpg
<br class="">
        /usr/local/MacGPG2/bin/gpg
</p><p dir="auto" class="">I installed the gpgtools (this is a fresh installation of it and MailMate on a new laptop, though I copied over the MailMate directories from the previous laptop), though of course without support for Mail.app. What am I missing?
</p>
<br class=""><p dir="auto" class="">        --Steve Bellovin, <a href="https://www.cs.columbia.edu/~smb" class="">https://www.cs.columbia.edu/~smb</a>
</p>
</div>
</div>
</div>

_______________________________________________<br class="">mailmate mailing list<br class=""><a href="mailto:mailmate@lists.freron.com" class="">mailmate@lists.freron.com</a><br class="">https://lists.freron.com/listinfo/mailmate<br class=""></div></blockquote></div><br class=""></div></div></div></blockquote>
<div class="plaintext"><p dir="auto">
</p>
<blockquote><p dir="auto">_______________________________________________
<br />
mailmate mailing list
<br />
mailmate@lists.freron.com
<br />
<a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a>
</p>
</blockquote><br /><br /><p dir="auto">        --Steve Bellovin, <a href="https://www.cs.columbia.edu/~smb">https://www.cs.columbia.edu/~smb</a>
</p>
</div>
</div>
</body>
</html>