On 19.04.18 17:55, Jeff Burdges wrote:
> There is a bug in pEpAdapter.jsm that it does not support GnuPG
> installed in non-standard locations, like /opt/local/bin for
> MacPorts.  In fact, enigmail encrypts, signs, and decrypts with gpg
> fine itself, while pEp fails to do so.
> 
> This results is repeated attempts to install gpg with the error
> message "In order to use Enigmail/p≡p, GnuPG is required. As we could
> not find it, we suggest to download and install it for you.”  If the
> user clicks install to shut it up, then they will likely cause gpg
> version compatibility warnings elsewhere, and possibly break other
> gpg configuration.>
> Also, the GnuPG package pEp attempts to install wants to place gpg in
> /usr/bin, which could theoretically collide with software installed
> by Apple.  It should be replaced by the MacGPG package probably.

There are a few misinterpretations in what you write. The fact that pEp
doesn't find gpg is not an error of pEpAdapter.jsm, but - if at all - of
the pepmda (the pep binary). pEpAdapter.jsm does not tell pEp where to
find gpg, instead pEp tells Enigmail where it found gpg. There is no
possibility in the pEp mode of Enigmail to specify where to find gpg.
I.e. you cannot specify the path to gpg in the "regular" Enigmail mode,
and then switch to the pEp mode and expect pEp to find gpg.

The second misinterpretation is about the install location of GnuPG.
Enigmail tries to install GpgOSX, (not MacGPG, nor gpgtools). GpgOSX is
installed in /usr/local/gnupg-2.2, with symlinks to /usr/local/bin.
These are similar locations as MacGPG would use. In any case, nothing is
installed in /usr/bin.

The relevant question is: why is gpg not found automatically by pEp if
it's installed in /opt/local/bin? I see two possible answers:

1. /opt/local/bin is not in the PATH environment variable
2. the version installed in /opt/local/bin is not compatible with pEp.
   pEp requires gpg 2.0.30, or 2.1.17 and newer.

I suspect that (1) is true.

-Patrick


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to