Page MenuHome GnuPG

Kleopatra: Move kleopatragroupsrc to GNUPGHOME
Closed, ResolvedPublic

Description

Ingo suggested that the kleopatragroupsrc would be better placed into the GNUPGHOME, as it relates to certificates, not Kleopatra. When setting up a separate GNUPGHOME for testing, those group definitions should be taken from there, as are the certificates.

When we move it, we should rename it, too. How about kleopatragroups.conf?

Relates to T6799 and T6916.

Update: The group definitions should be stored in GNUPGHOME/kleopatra/kleopatragroupsrc. Existing group definitions in the old location should be migrated/copied to the new location if no file exists in the new location. The file in the old location should be kept.

Revisions and Commits

rKLEOPATRA Kleopatra

Event Timeline

aheinecke added a subscriber: aheinecke.

This is what T6799 this needs to be fixed in general.

ikloecker added a project: vsd33.

I'm re-opening this ticket because I think this ticket only partially overlaps with T6799. T6799 is specific for g10 Code's releases of Kleopatra (especially for Windows) while this ticket makes sense for every version of Kleopatra.

ikloecker renamed this task from Kleopatra: Rename Kleopatragroupsrc and move it to GNUPGHOME to Kleopatra: Rename kleopatragroupsrc and move it to GNUPGHOME.May 21 2024, 5:42 PM
ikloecker updated the task description. (Show Details)
ikloecker set External Link to https://invent.kde.org/pim/libkleo/-/merge_requests/102.
ikloecker added a subscriber: CarlSchwan.

We shouldn't change the name of the config file. The syntax is different from GnuPG's .conf files. Therefore it's better not to use the same file suffix.

Setting same priority as T6799.

Assigning to Carl since he's working on this already.

ikloecker renamed this task from Kleopatra: Rename kleopatragroupsrc and move it to GNUPGHOME to Kleopatra: Move kleopatragroupsrc to GNUPGHOME.May 21 2024, 5:46 PM
ikloecker changed External Link from https://invent.kde.org/pim/libkleo/-/merge_requests/102 to https://invent.kde.org/pim/kleopatra/-/merge_requests/216.May 28 2024, 9:27 AM
ikloecker changed the task status from Open to Testing.Jun 7 2024, 2:26 PM
ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

should be ready for testing

I noticed a bug in the group config migration: T7181

ebo updated the task description. (Show Details)
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

Copying the file to the new location works as proposed in the description, tested with update from 3.2.2 to VS-Desktop-3.2.93.33-Beta

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