Wrong conf folder (web)

pastore.a's Avatar

pastore.a

24 Dec, 2011 05:06 PM

Hello,
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,
Andrew

  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

    gpgconf-gpg.conf:16:"/Applications/Utilities/GnuPG/gpg.conf
    verbose:0:
    quiet:0:
    keyserver:0:
    reader-port:0:
    default-key:0:
    encrypt-to:0:
    auto-key-locate:0:
    log-file:0:
    debug-level:16:"none:
    group:0:
    default_pubkey_algo:16:"RSA-2048:

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

    Andrew

    >

  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!

    Andrew

    >

  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

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