Control: retitle -1 caff: The absence of GPG_TTY causes silent caff failures in OSX Control: tag -1 + pending
On Wed, 21 Jan 2015 at 11:12:44 +1300, Ewen McNeill wrote: > - MacPorts (OS X) (gpg 1.4.18): works _without_ sderr redirected, fails with > stderr redirected (no output, exit code 1), unless GPG_TTY is set then it > works again. Wow that's odd. > I'll take the "works on Debian, fails on OS X" back to the MacPorts ticket > (https://trac.macports.org/ticket/46601). But I do think it'd be helpful if > caff would either (a) not redirect stderr or (b) ensure that GPG_TTY is set > when stderr is being redirected. Since those seem to be the two safe ways > to run gpg reliably. I can't remember of a reason to redirect stderr, and right now it doesn't seem like a good idea to me. I'm a bit reluctant to modify the environment though, especially since it's a weird behavior of GnuPG – and OSX specific :-P — IMHO. So all in all I pushed your patch in r760. Cheers, -- Guilhem.
signature.asc
Description: Digital signature