[sylpheed:33585] Re: problem with Sylpheed and GnuPG on Windows 7

Hiroyuki Yamamoto hiro-y at kcn.ne.jp
Wed Jan 20 14:06:05 JST 2010


Hello,

On Tue, 19 Jan 2010 22:18:24 +0100
"Hans Heider" <heiderhans at gmx.net> wrote:

> I am running Sylpheed version 2.7.1 (I also tried out the following
> with beta 6 of version 3) on Windows 7 with all updates installed. My
> problem is that I cannot use GnuPG from within Sylpheed although
> GnuPG is properly installed. When I start Sylpheed an error message
> is display which tells me that GnuPG is missing or incorrectly
> installed. I tried out GnuPG 1.4.10b (from www.gnupg.org) and also
> GnuPG 2.0.12 (from www.gpg4win.org).
> 
> I added the directory where gpg.exe is placed to the systems
> PATH-variable. GPGshell and Psi are able to use GnuPG without any
> problems, therefore I assume the problem to be located within
> Sylpheed or its configuration. 
> 
> I can also access gpg.exe from the command line without any problem:
> C:\Users\hans>gpg --version
> gpg (GnuPG) 2.0.12 (Gpg4win 2.0.1)
> libgcrypt 1.4.4
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html> This is free software: you are
> free to change and redistribute it. There is NO WARRANTY, to the
> extent permitted by law.
> 
> Home: C:/Users/hans/AppData/Roaming/gnupg
> Unterst³tzte Verfahren:
> Íff. Schl³ssel: RSA, ELG, DSA
> Verschl³.: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
> CAMELLIA128, CAMELLIA192, CAMELLIA256
> Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
> Komprimierung: nicht komprimiert, ZIP, ZLIB, BZIP2
> 
> Can anybody tell me how Sylpheed finds out if GnuPG is installed and
> working? Is there any way to specify the directory where gpg.exe is
> placed for Sylpheed in order to fix this problem?

Sylpheed (GPGME library) first checks for registry:

HKCU\Software\GNU\GnuPG\gpgProgram

If it doesn't exist, GPGME assumes the default location:

%ProgramFiles%\GNU\GnuPG\gpg.exe

-- 
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>


More information about the Sylpheed mailing list