Home GnuPG
Diffusion GnuPG efde50f92af2

agent: Improve error reporting from Pinentry.
efde50f92af2Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Improve error reporting from Pinentry.

* agent/call-pinentry.c (unlock_pinentry): Add error logging.  Map
error source of uncommon errors to Pinentry.

With this change it is possible to detect whether an error like
GPG_ERR_ASS_INV_RESPONSE has its origin in a call to Pinentry or comes
from another part of gpg-agent.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 11 2015, 4:28 PM
Parents
rG7b5b52f3268b: gpg: Change --print-pka-records into an option.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGefde50f92af2: agent: Improve error reporting from Pinentry. (authored by Werner Koch <wk@gnupg.org>).Mar 11 2015, 4:28 PM