So setting GPG_TTY to $(tty) works but it's a pain having upgraded to stretch to have to search the net to find this based on the utterly unhelpful: gpg: public key decryption failed: Inappropriate ioctl for device
Is there a fix in the works for pinentry or gpg config? Obviously I can bung this in a profile/bash script but is there not a nicer way that you could fix it to find the tty? Simon.