https://bugs.kde.org/show_bug.cgi?id=458085

--- Comment #62 from michaelk83 <mk.mat...@gmail.com> ---
(In reply to Thiago Macieira from comment #61)
> A proper implementation would realise that
> the request for GPG to open the wallet is still pending and queue the
> request to be answered when the wallet got opened.

So the request from pinentry gets queued and waits for the wallet to unlock,
which is waiting on pinentry to return the passphrase. It just brings us back
to the synchronous deadlock we have now.
(In fact, the queuing behavior may very well be how it's actually implemented
currently. Though I can't say for sure.)

> It also wouldn't work if I had my ~/.gnupg directory protected against
> unwanted reads and writes.

The proposed patch doesn't attempt to write to ~/.gnupg directly. It makes
calls to gpgconf.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to