Page MenuHome GnuPG

Make it possible to run Kleopatra VSD and Kleopatra GPD in parallel
Testing, HighPublic

Description

It should be possible to run Kleopatra VSD and Kleopatra GPD at the same time. Currently, this isn't possible because Kleopatra is a/uses KUniqueService. Both versions use a different GNUPGHOME so that a more general solution based on GNUPGHOME would be a possible solution.

This is closely related to T7040, but I'd like to keep this separate.

Event Timeline

ikloecker moved this task from Backlog to WIP on the gpd5x board.
ikloecker changed the task status from Open to Testing.Feb 26 2025, 2:01 PM

Remarks:

  • This works now on Windows and with the AppImage. This was achieved by customizing the internal application name of Kleopatra: kleopatra-vsd for GnuPG VS-Desktop, kleopatra-gpd for GnuPG Desktop, kleopatra for everything else.
  • As a side effect the different flavors of Kleopatra now use different names for the main config file and for the state file, i.e. Gpg4win uses kleopatrarc and kleopatrastaterc, GnuPG VS-Desktop will use kleopatra-vsdrc and kleopatra-vsdstaterc, and GnuPG Desktop will use kleopatra-gpdrc and kleopatra-gpdstaterc.
  • The internal application name is also used for config entries retrieved from the registry. That means that for VSD and GPD different registry paths are used in future releases.
  • Testing on Windows requires T7040: Make it possible to install GnuPG VSD and GPD in parallel.