#847380 gnupg: gpg unusable with pipe -- 'Inappropriate ioctl for device'