It is very annoying that gpg-agent immediately closes the pipe, as the
protocol says different (and what other pinentries do also matches); not
sure if it always used to.

Thank you for digging in and confirming this.

Yes, mksh changed to align with POSIX 2024… which is why I proposed the
patch in #7. Sadly, the || : did not help.

Trapping SIGPIPE does? That’s good to know. I think I’ll combine that
with the reorganisation from #7 (the “if (( have_sub )); then” block),
as I think I want that anyway, so that the subprocess is cleanly
finished before reporting back to the parent.

Then we have a workaround, and I can produce a new version of kwalletcli
probably within the week.

Actually… anyone up for testing a so patched version from PPA first?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120443

Title:
  pinentry-kwallet called recursively by gpg-agent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kwalletcli/+bug/2120443/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to