Ühel kenal päeval, K, 14.12.2016 kell 13:08, kirjutas Sam Jorna:
> On Mon, Dec 12, 2016 at 02:35:28PM +1100, Sam Jorna wrote:
> > 
> > On Mon, Dec 12, 2016 at 09:34:21AM +0700, [email protected] wrote:
> > > 
> > > On Sun, 11 Dec 2016, Kristian Fiskerstrand wrote:
> > > > 
> > > > On 12/11/2016 03:13 PM, [email protected] wrote:
> > > > > 
> > > > > gpg: signing failed: Inappropriate ioctl for device
> > > > this might indicate a want for export GPG_TTY=$(tty)
> > > I don't understand what has really happened. I removed my last
> > > commit, an 
> > > attempt to commit it again failed with gpg: signing failed. Then
> > > I logged 
> > > out of the box on which I have the git tree (I log in this box
> > > via ssh), 
> > > and logged in again. After that the commit succeeded.
> > 
> > I was also getting some odd issues with commit signing, though it
> > seemed 
> > to settle for me when I switched to pinentry-curses (since I use 
> > awesome), so I figured it was probably a local issue. Perhaps
> > there's a 
> > wider problem here?
> 
> If anyone else is getting this, it seems to be resolved by exporting 
> GPG_TTY=$(tty) either immediately before attempting to sign or in
> your 
> shell ~/.*rc file.

I'd consider this a temporary workaround. The real issue would just be
workarounded with this, which is nice to get something committed, but
not so nice longterm.
I had similar issues, but it turned out some pinentry issues for me
iirc, so properly fixed by now and not needing such hackery anymore.


Mart

Reply via email to