On Tue, 01 Jul 2025 22:56:35 -0400 =?utf-8?Q?Antoine_Beaupr=C3=A9?=
<[email protected]> wrote:
A few more details...
This is triggered only after I connect to a remove server with
gpg-agent's "ssh agent" mode, backed by a hardware token (a yubikey)
which holds my Authentication key. Merely starting the gpg-agent.service
unit is not enough.
Using the following override reduces the delay, in
~/.config/systemd/user/gpg-agent.service.d/override.conf:
[Service]
TimeoutStopSec=10s
I attempted this workaround but it didn't work, the shutdown was still
just as slow.
However I discovered that after uninstalling the yubikey-touch-detector
package, the problem went away completely.
-- Jérôme