Page MenuHome GnuPG

Kleopatra: Add action to restart background processes
Closed, ResolvedPublic

Description

In Kleopatra we would like to have "gpgconf --kill all" acessible from the GUI. This is helpful for support.

I think it should be placed under "Extras -> Restart background processes"

Even though it would be just a kill all it should be called restart because kleopatra would immediately run a new keylisting starting the processes again.

We thought about doing this also when Kleopatra shuts down on Windows but for now an action item is the least we should do.

Event Timeline

aheinecke created this task.

Note: Currently, killing the background processes causes a SIGPIPE (broken pipe) in the worker thread of the DeviceInfoWatcher. Kleopatra seems to survive this, but I'm not sure the thread survives. Starting a new SCD DEVINFO --watch fails with General error. On exit, the thread then receives a SIGABRT which crashes Kleopatra.

Oh, this is something we should fix anyway because users when evaluating Kleopatra and making configuration changes regularly run "gpgconf --kill all" anyway. Could it be that the SCD DEVINFO --watch fails because the gpg-agent is not yet started again?

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.Feb 14 2022, 10:05 AM
ikloecker removed ikloecker as the assignee of this task.
ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ebo claimed this task.
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ebo added a subscriber: ebo.

This works in so far that the background processes are killed with the restart button. For remaining issue see T6567