You are here

Sylpheed and GnuPG / OpenPGP

4 posts / 0 new
Last post
KarMau
Offline
Last seen: 4 years 3 months ago
Joined: 2020-01-09 07:37
Sylpheed and GnuPG / OpenPGP

Is there a tutorial how to integrate GnuPG in Sylpheed portable?

What I tried:
Installation of Gpg4Win (perhaps a problem, because it is not Portable).

Edit the \App\AppInfo\Launcher\SylpheedPortable.ini, added

[Activate]
Registry=true

[RegistryKeys]
GnuPG=HKEY_LOCAL_MACHINE\SOFTWARE\GNU\GnuPG

Create \Data\settings\GnuPG.reg with:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\GNU\GnuPG]
"Install Directory"="C:\\Program Files (x86)\\GnuPG"
"gpgProgram"="C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe"

But the message "GnuPG is not installed properly, or its version is too old." is still there Sad

Thanks for any help.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 53 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Manual Configuration?

I've not used Sylpheed myself but does it allow you to manually specify the path anywhere in the confguration? If so, installing GPG Portable and then pointing to that would be the best option.

Sometimes, the impossible can become possible, if you're awesome!

KarMau
Offline
Last seen: 4 years 3 months ago
Joined: 2020-01-09 07:37
I found:

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

I tried

1. HKEY_CURRENT_USER
a) "gpgProgram"="c:\\progra~2\\gnupg\\bin\\gpg.exe"
b) "gpgProgram"="C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe"
With this the GnuPG.reg is changed after running sylpheed (extra new line), But the error exists.

2. Create a symlink
mklink /J "C:\Program Files\GNU\GnuPG" "C:\Program Files (x86)\GnuPG"

3. HKEY_LOCAL_MACHINE

lindachan
Offline
Last seen: 10 months 1 day ago
Joined: 2008-04-03 08:14
Your registry path should be

Your registry path should be with HKLM like this:

HKLM\Software\GNU\GnuPG\

And on x64 systems your registry path should be like this:

HKLM\Software\Wow6432Node\GNU\GnuPG\

Log in or register to post comments