Page MenuHome GnuPG

Keyresolver GpgOL: groups are not resolved
Closed, ResolvedPublic

Description

A group with an email address as name is no longer resolved in Outlook.
It is still resolved via GpgEX.

Details

Version
Gpg4win 4.4, VSD-Beta-478

Related Objects

Event Timeline

ebo triaged this task as High priority.Fri, Jan 10, 3:34 PM
ebo created this task.

The file path of the group config file in line
https://dev.gnupg.org/source/g4wt/browse/master/src/resolver/resolver.cpp$171
has to be changed to the one in line
https://dev.gnupg.org/source/kleo/browse/master/src/kleopatraapplication.cpp$355 .
It may be best to add a function returning the default path to libkleo. Or to use the new path by default if no other path is passed to the c'tor of KeyGroupConfig. It's unfortunate that the path is GNUPGHOME/kleopatra/kleopatragroupsrc although the groups are also used by GpgOL and they should likely also be supported/used by KMail.

ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ikloecker changed the task status from Open to Testing.Mon, Jan 13, 1:02 PM
ikloecker moved this task from Backlog to WiP on the vsd33 board.
ikloecker added a subscriber: werner.

Fixed. No backport needed because we use gpg4win-tools master also for VSD 3.3
@werner: gpg4win-tools needs to be updated in gpg4win master.

Note for testing: If the resolver doesn't find a group config at the new location then it looks at the old location. This avoids failing group resolution in case Kleopatra did not yet migrate/copy the group config to the new location.

VS-Desktop-3.2.94.481-Beta: works, if no kleopatragroupsrc is found at the new location, the one at the old location is used.
This is only relevant in the case that after the update to this version GpgOL is used without starting Kleopatra in between.
Because when Kleopatra is started it will copy the kleopatragroupsrc from the old location to the new one. After that the config file in the old location is ignored.

ebo edited projects, added vsd33 (vsd-3.3.0); removed vsd33.