Page MenuHome GnuPG

Kleopatra: Add action to restart background processes
Open, NormalPublic

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 triaged this task as Normal priority.Thu, Jan 13, 11:45 AM
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?