[PATCH gnupg 0/2] tpm2d: Fix concurrent use of a TPM key and a bogus TSS error

NIIBE Yutaka gniibe at fsij.org
Tue Sep 29 03:08:51 CEST 2026


Hello,

Thank you for your report.

Aleksei Sviridkin wrote:
> A TPM-backed key in gpg-agent can serve only one operation at a time. I
> use a nistp256 subkey moved there with keytotpm for commit signing and
> SSH on a headless box. When several jobs used it at once, signatures
> failed at random with "No SmartCard daemon" or "agent refused
> operation".

I will take care this problem, and another error message problem you
described.  IIUC, you are using systemd for gpg-agent and the term
"journal" means the log.

I will include your name in the commit(s) to acknowledge you.

In your patches:
> Assisted-by: LLM

Thank you for explicitly addressing this.  This kind of disclosure is
helpful for developers.  (Otherwise, it may waste developers' time.)

I'm sorry to say that I don't directly accept the patches with help of
LLM.  I think that it's now common practice for free software projects
to avoid AI Slop problems and/or copyright concerns.

Please consider don't provide us patches made with LLM, but describe
your problem.  To do that, help of LLM is OK, and disclosure helps
developers.

This is my own opinion for code I care.  Other projects, people,
situations, it may vary.
-- 


More information about the Gnupg-devel mailing list