On Fri,  9 Dec 2016 13:04, vinc...@vinc17.net said:

> $ gpg -d note.gpg
> gpg: AES encrypted data
> gpg: cancelled by user

"cancelled" was unfortunately a catch-all error of pinentries.  

> Note: I got this error immediately, and no windows are opened.
>
> A few minutes later, everything was OK.

That is strange.  It might be that the agent popped up a pinentry before
the one you used but for some reasons this did not show up on your
screen.  After a long timeout that invisible pinentry gets killed and
you get your pinentry.  Pinentry access is serialized.

Debug hint: Put

--8<---------------cut here---------------start------------->8---
log-file socket://
debug ipc
debug-pinentry
verbose
--8<---------------cut here---------------end--------------->8---

into gpg-agent.conf and restart the agent.  Then run in another xterm

  watchgnupg --force --time-only $(gpgconf --list-dirs socketdir)/S.log

to immediately see what the agent is doing.  it won't show confidential
stuff so you may even be able to post snippets from the output.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: pgprk3ZdlCYMq.pgp
Description: PGP signature

Reply via email to