Pinentry: Inappropriate ioctl for device when getting smartcard PIN

Jacob Adams tookmund at
Thu Jul 5 17:34:57 CEST 2018

On 07/04/2018 01:23 PM, Werner Koch wrote:
> Hi!
> Are you setting the homedir in your code also for the Assuan context?
> That might explain the behaviour.

I had been manually setting the Assuan context's homedir to ~/.gnupg by
accident (Was originally using a temporary directory, but that caused
all kinds of issues). Setting it to NULL instead appears to have fixed
the problem.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Gnupg-users mailing list