[MlMt] GPG not found

Steven M. Bellovin smb at cs.columbia.edu
Thu Jan 14 19:50:09 EST 2021


This worked but raises more questions.

I verified that I could find gpg from the shell. In other words, it
was in my $PATH. I then fired up MailMate from an iTerm2 window—
and it still couldn't find gpg. However, the symlink in /usr/local/bin
did work. This suggests that either MailMate or something about
the application launch framework (I did 'open 
/Applications/MailMate.app')
is resetting the path. If the latter, perhaps there needs to be a hidden
preference for $PATH?

On 14 Jan 2021, at 17:04, Dan Pritts wrote:

> Probably, whatever method you're using to set your path (shell startup 
> files?) is not making it through to Mailmate.
>
> A couple minutes of searching doesn't show me how to set the 
> environment on my actual login session.
>
> If I were in your shoes I'd symlink gpg into /usr/local/bin; Mailmate 
> will probably find it there.
>
> On Jan 14, 2021, at 10:56 AM, Steven M. Bellovin <smb at cs.columbia.edu> 
> wrote:
>>
>> When I receive signed messages, MailMate 5757 (on Big Sur) says 
>> "OpenPGP: Unable to locate the command (gpg) needed". However, it is 
>> there:
>>
>> $ which gpg
>> /usr/local/MacGPG2/bin/gpg
>>
>> 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?
>>
>>
>> --Steve Bellovin, https://www.cs.columbia.edu/~smb 
>> <https://www.cs.columbia.edu/~smb> 
>> _______________________________________________
>> mailmate mailing list
>> mailmate at lists.freron.com
>> https://lists.freron.com/listinfo/mailmate

> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate



         --Steve Bellovin, https://www.cs.columbia.edu/~smb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20210114/0b596620/attachment.htm>


More information about the mailmate mailing list