On Mon, Dec 12, 2016 at 02:35:28PM +1100, Sam Jorna wrote: > On Mon, Dec 12, 2016 at 09:34:21AM +0700, gro...@gentoo.org wrote: > > On Sun, 11 Dec 2016, Kristian Fiskerstrand wrote: > > > On 12/11/2016 03:13 PM, gro...@gentoo.org 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. -- Sam Jorna (wraeth) GnuPG Key: D6180C26
signature.asc
Description: Digital signature