Pinentry: Inappropriate ioctl for device when getting smartcard PIN

Jacob Adams tookmund at gmail.com
Wed Jun 27 22:50:25 CEST 2018


I've got another pinentry problem unfortunately.
The tty is owned by the correct user this time and $GPG_TTY is set
correctly.

I have two gpgme contexts, one for openpgp and another for assuan
commands to the smartcard. Pinentry triggered by the openpgp context
works perfectly, but any pinentry launched in service of the assuan
context fails with the error in the subject. They're both using the same
gpg-agent launched shortly after the creation of the openpgp context
with gpgconf --launch gpg-agent.

The relevant logs are available at:
https://salsa.debian.org/tookmund-guest/pgpcr/issues/10

I'm really not sure what's going wrong here and any insight would be
much appreciated.

Thanks,
Jacob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180627/5efb8fe5/attachment.sig>


More information about the Gnupg-users mailing list