Home GnuPG
Diffusion GnuPG cf748e8736b9

Return GPG_ERR_CARD_NOT_PRESENT when pinentry-mode=loopback.
cf748e8736b9Unpublished

Unpublished Commit ยท Learn More

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

Description

Return GPG_ERR_CARD_NOT_PRESENT when pinentry-mode=loopback.

Since there isn't a way to prompt the user to insert the smartcard when
pinentry-mode=loopback, return GPG_ERR_CARD_NOT_PRESENT instead of
GPG_ERR_NO_PIN_ENTRY.

  • agent/divert-scd.c (ask_for_card): Return GPG_ERR_CARD_NOT_PRESENT

when pinentry-mode=loopback.

Details

Provenance
bjkAuthored on Jan 26 2012, 1:16 AM
Parents
rG3da10eefcb09: Also check for GPG_ERR_ASS_CANCELED during an inquire.
Branches
Unknown
Tags
Unknown

Event Timeline