Control: tags -1 +pending First a sory for the late reply.
* Paul Casto <pca...@bricata.com> [161221 21:45]: > Observed the same problem - attempted to run `reprepro export` and was not > prompted for gpg passphrase. > Conditions were similar to ones reported above. > While not explicitly stated above, only pinentry-curses was listed, so > assuming that this is a non X11 system. > > Banged my head for a bit, and then discovered this post > https://bbs.archlinux.org/viewtopic.php?id=138546 > > I didn't follow that back through to find the status of the bug, but... > > I did lead me down the path of discovering that this is an issue when running > reprepro under an account where an su is involved. > If I log in directly as the user that will be running reprepro (and has the > keys), then it works - ncurses prompt for passphrase. > If I log in as another user, and then su to the user that is running reprepro > (and has the keys) it does not. With the symptoms as described above. For pinentry that is to be expected. AFAIUI it tries to access /dev/tty and that belongs to the logged in user and does not allow anyone else to write there. The next version of reprepro will add the following sentence in the manpage of --ask-passphrase: (With current versions of gnupg you need to set 'pinentry-mode loopback' in your .gnupg/gpg.conf file to use '--ask-passphrase'. Without that option gnupg uses the much safer and recommended pinentry instead). Bernhard R. Link -- F8AC 04D5 0B9B 064B 3383 C3DA AFFC 96D1 151D FFDC