GPG Keychain non-standard location for .gnupg (GNUPGHOME) directory

voldrani's Avatar

voldrani

10 Aug, 2016 07:43 AM

Hi,
I'm sure this is a bit of a dumb question, but I'm stuck. I want to keep the .gnupg key and config files on an encrypted volume. I set $GNUPGHOME in my bash setup script, and that allows the gpg command to work. The problem is that GPG Keychain doesn't now about this env. var. setting, and I can't figure out where it's supposed to go.

Thanks

  1. 1 Posted by voldrani on 10 Aug, 2016 08:20 AM

    voldrani's Avatar

    This is a brand new install of GPG_Suite-2016.07_v2.dmg on Macbook OS X 10.11.4 (el-capitan)

  2. 2 Posted by Mento on 07 Nov, 2016 03:08 PM

    Mento's Avatar

    Hi voldrani,

    you can set GNUPGHOME using "launchctl setenv".
    You have to run this command after every reboot. An example can be found here: http://www.dowdandassociates.com/blog/content/howto-set-an-environm...

    Regards, Mento

  3. 3 Posted by voldrani on 07 Nov, 2016 11:59 PM

    voldrani's Avatar

    Good to learn about this -- thanks for the tip.

  4. Steve closed this discussion on 08 Nov, 2016 10:00 AM.

  5. Steve re-opened this discussion on 08 Nov, 2023 04:55 PM

  6. Steve closed this discussion on 08 Nov, 2023 04:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac