https://bugzilla.novell.com/show_bug.cgi?id=619295 https://bugzilla.novell.com/show_bug.cgi?id=619295#c28 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #28 from Petr Uzel <puzel@novell.com> 2010-12-08 11:07:30 UTC --- (In reply to comment #27)
bashrc yes (bash_profile, no)
It is now in /etc/bash.bashrc ... - but then again, that only addresses bash, not
the other shells.
.. as well as in /etc/csh.cshrc
This is another point why the gpg program should run tty. If upstream does not want to do that change, make /usr/bin/gpg a script similar to what is done with /usr/bin/pinentry and run in it:
#!/bin/sh
GPG_TTY=$(tty) exec /usr/bin/gpg-real "$@";
That should take care of non-bash and login-not-login — and even bash --norc — situations.
But it still won't help if the "gpg script" is run with stdin redirected (without the redirection, GPG_TTY is not needed). So this is no better. I understand you don't like it, but I really don't see any better solution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.