Conf Problem with two Hard drives

Florent's Avatar

Florent

12 Jan, 2012 11:30 AM

Hi,
I am unable to save in GPG Keychain Access (Version 1.0b6) a KeyServer.

Here is the log console :

12/01/12 12:07:42,696 GPG Keychain Access: SheetController runAndWait. modalWindow = '<NSWindow: 0x10065d9b0>', sheetWindow = '<GKSheetWindow: 0x101c3de70>'
12/01/12 12:07:44,705 GPG Keychain Access: Exception: Search keys failed!
Code = 0
12/01/12 12:07:44,705 GPG Keychain Access: Error text: gpg: pas de serveur de clés connu (utilisez l'option --keyserver)
gpg: la recherche au sein du serveur de clés a échoué: Erreur de syntaxe dans l'URI

Status text:
12/01/12 12:08:00,860 GPG Keychain Access: Can't load config (/Volumes/Dur Dur/Users/fmusso/.gnupg/gpg.conf): Error Domain=NSCocoaErrorDomain Code=260 "Impssible d’ouvrir le fichier « gpg.conf » car il n'existe pas." UserInfo=0x1019433b0 {NSFilePath=/Volumes/Dur Dur/Users/fmusso/.gnupg/gpg.conf, NSUnderlyingError=0x101958a90 "L’opération n’a pas pu s’achever. No such file or directory"}
12/01/12 12:08:02,747 GPG Keychain Access: Can't load config (/Volumes/Dur Dur/Users/fmusso/.gnupg/gpg.conf): Error Domain=NSCocoaErrorDomain Code=260 "Impssible d’ouvrir le fichier « gpg.conf » car il n'existe pas." UserInfo=0x10697a6d0 {NSFilePath=/Volumes/Dur Dur/Users/fmusso/.gnupg/gpg.conf, NSUnderlyingError=0x10697a1f0 "L’opération n’a pas pu s’achever. No such file or directory"}


My Computer configuration is a MacBook Pro 13 with two drives inside.
-Fast Dur (a 256 Go Crucial M4 SSD. with my 10.7 (everything except my Home Directory) -Dur Dur ( a 1 To Samsung) with My Home Directory.

I Understand that GPG Keychain Access (installed into Dur Dur) is expected my home directory into the same hard drive but it it not the case. How could change that ? I think I have the same problem with GPG Preferences Panel.
Could you help me ?

Thanks

  1. Support Staff 1 Posted by Luke Le on 12 Jan, 2012 11:41 AM

    Luke Le's Avatar

    Hi ,

    could you check both Fast Dur and Dur Dur if you find a directory called .gnupg.
    Usually it should reside in your home dir, but giving your setup, the home directory not being on the same harddisk as the GPGTools installation, it might not be there.

    I believe the fastet way to solve this quickly would be symlinking the .gnupg folder to the Fast Dur harddisk.

  2. Support Staff 2 Posted by Luke Le on 12 Jan, 2012 11:42 AM

    Luke Le's Avatar

    Also, could you describe how you configured OS X so it finds your home disk on the external drive, that will help debugging the issue.

  3. 3 Posted by Florent on 12 Jan, 2012 12:34 PM

    Florent's Avatar

    Hi,
    In my home directory into Dur Dur (path : /Volumes/Dur Dur/Users/fmusso) I have .gnupg directory. But inside there is not gpg.conf. It should be an issue during the installation.
    Inside .gnupg, here is what I have :
    6031126 0 drwx------ 2 fmusso staff 68 11 jan 11:29 private-keys-v1.d
    6038016 8 -rw------- 1 fmusso staff 3379 11 jan 13:34 pubring.gpg
    6037774 24 -rw------- 1 fmusso staff 8816 11 jan 13:30 pubring.gpg~
    6031200 8 -rw------- 1 fmusso staff 600 11 jan 12:11 random_seed
    6037778 8 -rw------- 1 fmusso staff 2873 11 jan 13:30 secring.gpg
    6030827 8 -rw------- 1 fmusso staff 1480 11 jan 13:30 trustdb.gpg

    I have tried to make a simlink, it still does not work.
    What I find strange is that, according the log file, the program is looking in the good hard drive (dur dur) but the file gpg.conf is not existing. May be a problem during the installation. I have noticed during the installation (GPG TOOLS) that GPG PREFERENCES was not installed. I needed to do it after manually.

    Regarding my configuration OS X in installed into Fast Dur (SSD) and after by going into Advanced Preference / User and I have indicated a new home into the Hard Drive : DUR DUR. Need more information ?

    Thanks for your help

  4. Support Staff 4 Posted by Luke Le on 12 Jan, 2012 01:48 PM

    Luke Le's Avatar

    Yeah, infact as you said, it seems only gpg.conf is missing.
    I'll add a pristine gpg.conf you can use.
    Try to copy it into the .gnupg folder, maybe that solves your problem.
    Symlink shouldn't be necessary in this case.

  5. 5 Posted by florent on 12 Jan, 2012 02:04 PM

    florent's Avatar

    Yes,

    It works ! Thanks for your help

    Florent

  6. Support Staff 6 Posted by Luke Le on 12 Jan, 2012 02:13 PM

    Luke Le's Avatar

    Great!
    If we manage to setup a configuration like yours, we'll investigate what went wrong in the first place.

    Have a nice day!

  7. Luke Le closed this discussion on 12 Jan, 2012 02:13 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