Page MenuHome GnuPG

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

Event Timeline

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

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

marcus added a subscriber: marcus.

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