OSX: How to install gpg without Admin password

Patrick Brunschwig patrick at enigmail.net
Sun Aug 30 16:19:42 CEST 2015

You'll need to set the path to pinentry in gpg-agent.conf Something like:
pinentry-program /home/xyz/pinentry-mac.app/Contents/MacOS/pinentry-mac


On 29.08.15 19:13, Dan Bryant wrote:
> OK, this worked in getting the binaries extracted and by setting PATH
> and DYNLD_LIBRARY_PATH I can get the bins to load and dump version
> information... SUCCESS...
> Now my biggest problem is getting the agent and pinentry (I assume) to
> talk to gpg.
> I was hoping I could set bindir, libdir, libexecdir with gpgconf
> (gpgconf.conf) but I can't seem to figure out how to convice gpg to
> look in nonstandard paths for binaries and libraries.  Seems to be
> ignoring PATH environment.
> Suggestions?
> On Thu, Aug 27, 2015 at 1:31 AM, Patrick Brunschwig
> <patrick at enigmail.net> wrote:
>> On 26.08.15 17:16, Dan Bryant wrote:
>>> I have a monitored OS X laptop that I would like to put GNU Privacy
>>> Guard (gpg) on. Of course I can't because I don't have Admin rights,
>>> but I was hoping there is a way to install it in user space through a
>>> virtual environment or chroot, or some other wizardry, or by exacting
>>> the package files.
>>> Obviously I only need console access to the app.
>> Just download a DMG file, open (=mount) it, and copy the PKG file to
>> some temporary location. Then use pkgutil in a terminal to unpack the
>> PKG file to some temp directory. Then copy whatever you need to your
>> home directory.
>> man pkgutil will tell you how to use it.
>> -Patrick

More information about the Gnupg-users mailing list