You are here

Sylpheed and GnuPG / OpenPGP

3 posts / 0 new
Last post
KarMau
Offline
Last seen: 1 year 9 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: 2 hours 19 min ago
AdminDeveloperModerator
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: 1 year 9 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

Log in or register to post comments