[patch] gpg 1.4.2 ignores --no-tty (regression since 1.4.1)
David Shaw
dshaw at jabberwocky.com
Mon Dec 12 04:20:29 CET 2005
On Sat, Dec 10, 2005 at 03:27:36PM -0500, Ryan Lortie wrote:
> I've discovered a problem in gnupg 1.4.2 (regression since 1.4.1).
>
> If you try and run seahorse with this version with seahorse not invoked
> from the commandline (ie: run from the gnome menu, for example) then you
> are unable to assign new trust values to keys.
>
> The problem is described in Launchpad:
>
> https://launchpad.net/products/gnupg/+bug/5570
>
> The bug is caused because gnupg is ignoring the --no-tty option passed
> to it by seahorse and trying to open("/dev/tty/") anyway (and failing).
> This is caused by the command-completion code for edit mode. When
> initialising, it doesn't check no_terminal before trying to open the
> tty.
>
> I've attached a small patch to fix that.
Patch applied for 1.4.3. Thank you.
David
More information about the Gnupg-devel
mailing list