Home GnuPG
Diffusion GpgOL 9c390aa17f39

Do not anymore use a Registry key to find the GnuPG installation.

Description

Do not anymore use a Registry key to find the GnuPG installation.

* src/common.cpp (get_gpg4win_dir): Rewrite to get rid of the the need
for Registry keys.  Also tell gpgme about the installation directory
on the first call.  Return a const string and change all callers
accordingly.
(get_gpgme_w32_inst_dir): Remove.
* src/gpgoladdin.cpp (GpgolAddin::GpgolAddin): Do not use
get_gpgme_w32_inst_dir but simply call get_gpg4win_dir for its
side-effect.
* src/wks-helper.cpp (get_wks_client_path): Change the order on how to
find gpg-wks-client.  A GnuPG subdir has now priority.

This allows to use the gpg version which comes with GpgOL. This way
we won't get into nonmatching gpgol and gnupg versions.

Note that there is still some use of Registry keys for launching
Kleopatra via the UI-Server. This should better also be changed; it
is not clear wehether this active code at all.

Details

Provenance
wernerAuthored on Thu, Dec 11, 3:17 PM
Parents
rO11ce4cf15e79: po: Update Swedish translation
Branches
Unknown
Tags
Unknown
Tasks
T7040: Make it possible to install GnuPG VSD and GPD in parallel