[MlMt] GPG problems

Steven M. Bellovin smb at cs.columbia.edu
Fri Apr 17 00:57:59 EDT 2020


On 17 Apr 2020, at 0:10, Philip Paeps wrote:

> On 2020-04-17 11:46:05 (+0800), Steven M. Bellovin wrote:
>
>> On 16 Apr 2020, at 22:20, Philip Paeps wrote:
>>
>>> On 2020-04-12 12:04:50 (+0800), Steven M. Bellovin wrote:
>>>> I found at least part of the problem: I’m running gpg via 
>>>> homebrew, and it doesn’t understand the —compliance option. Is 
>>>> there a workaround? (Aside: it would be nice if MailMate captured 
>>>> stderr from gpg invocations.)
>>>
>>> I'm also running gpg via Homebrew and it seems to work for me (on 
>>> 5682).
>>>
>>> My gpg from Homebrew also supports --compliance.
>>>
>>> ```[614] (philip at twoflower)~% brew info gpg
>>> gnupg: stable 2.2.20 (bottled)
>>> GNU Pretty Good Privacy (PGP) package
>>> https://gnupg.org/
>>> /usr/local/Cellar/gnupg/2.2.20 (134 files, 11.2MB) *
>>>   Poured from bottle on 2020-04-15 at 14:32:03
>>> From: 
>>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnupg.rb
>>> ==> Dependencies
>>> Build: pkg-config ✔
>>> Required: adns ✔, gettext ✔, gnutls ✔, libassuan ✔, 
>>> libgcrypt ✔, libgpg-error ✔, libksba ✔, libusb ✔, npth ✔, 
>>> pinentry ✔```
>>>
>>> Last time I had weird GnuPG issues, Benny suggested I should run 
>>> MailMate from a terminal.  I think that will also print gpg stderr.
>>
>> Per a later note, I tried that. It showed that MailMate is invoking
>> gpg with an option the Homebrew version doesn't support.
>
> Yeah I saw that.  My version of gpg - also from Homebrew - *does* 
> support the `--compliance` option though.  Are you by any chance using 
> gpg 1.x or something?
>
No, nothing that bad, but your note made me check further. There was
a bogus symlink to an older version of gpg, so I wasn't actually getting 
the
Homebrew one… I deleted that symlink and reinstalled; all is well now.

Apologies for the noise!


         --Steve Bellovin, https://www.cs.columbia.edu/~smb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20200417/8b62afe3/attachment.html>


More information about the mailmate mailing list