pinentry can't access GPG_TTY after su/sudo to another user on GNU/Linux
Closed, InvalidPublic

Description

After login to another user (login or sudo), the process can't access its TTY,
because the owner of the device is still the original user.
In this situation, pinentry fails by EACCESS (Permission denied) for TTY.
gpg doesn't work well.

Details

gniibe added a subscriber: gniibe.
gniibe renamed this task from pinentry can't access GPG_TTY after login or sudo to pinentry can't access GPG_TTY after /bin/login or sudo to another user on GNU/Linux.Oct 6 2016, 5:55 AM
gniibe renamed this task from pinentry can't access GPG_TTY after /bin/login or sudo to another user on GNU/Linux to pinentry can't access GPG_TTY after su/sudo to another user on GNU/Linux.Oct 7 2016, 4:38 AM
gniibe set External Link to https://bugs.debian.org/836772.Oct 7 2016, 5:06 AM
werner added a subscriber: werner.Feb 3 2017, 12:37 PM

The Debian report is waiting since October for a reply from the orig. submitter.

marcus closed this task as Invalid.Jul 13 2017, 1:01 AM
marcus added a subscriber: marcus.

The Debian report includes multiple workarounds for the quite unusual setup. So, I am closing here.