Wrong conf folder (web)

pastore.a's Avatar


24 Dec, 2011 05:06 PM

I installed GPGTools on my 2 Macs, the first is a new installation so everything works correctly, the second one is an update of a previous version of GPG, on this Mac the configuration folder is "/Applications/Utilities/GnuPG/" and not "/Users/.../.gnupg/" and GPG Keychain Access doesn't work... How can i change this wrong configuration?

Thanks and Merry christmas,

  1. Support Staff 1 Posted by Luke Le on 24 Dec, 2011 09:36 PM

    Luke Le's Avatar

    Hi Andrew,

    the easiest option is to simply move the folder using Terminal.app
    by executing the following command (press return after entering the command):

    cp -R /Applications/Utilities/GnuPG ~/.gnupg

    After you verified GPG Keychain Access works as expected
    you can trash the /Applications/Utilities/GnuPG folder.

    Merry Christmas to you too!

  2. 2 Posted by Andrea Pastore on 25 Dec, 2011 08:56 AM

    Andrea Pastore's Avatar

    It's not so simple I think…

    This is the reply to the command line: gpg2 --gpgconf-list


    I think there is something to change in a conf file somewhere…



  3. Support Staff 3 Posted by Luke Le on 25 Dec, 2011 03:02 PM

    Luke Le's Avatar

    Hi Andrew,

    you might be right. Could you please run the following command in Terminal.app:

    echo $GNUPGHOME

    and post the output?
    If GNUPGHOME is pointing to "/Applications/Utilities/GnuPG" you'll have to change this value too. After that it should be as simply to change the location as described above.

  4. 4 Posted by Andrea Pastore on 25 Dec, 2011 04:04 PM

    Andrea Pastore's Avatar

    Thanks Luke,

    I solved…

    The output was "/Applications/Utilities/GnuPG" so I searched the environment variable GNUPGHOME.

    I founded it in the file environment.plist (in $home/.MacOSX), then I deleted the value with Prefsetter.app and now everything is working ok!

    Thanks a lot, Merry Christmas!



  5. Support Staff 5 Posted by Luke Le on 25 Dec, 2011 04:06 PM

    Luke Le's Avatar

    Perfect! Enjoy GPGTools :)!

  6. Luke Le closed this discussion on 25 Dec, 2011 04:06 PM.

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

Keyboard shortcuts


? 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