On Mon, Aug 10, 2015 at 3:36 AM, Chí-Thanh Christopher Nguyễn <[email protected]> wrote: > Doug Goldstein schrieb: >> gpg: cancelled by user >> gpg: skipped "0xA2BC03DC87ED1BD4": Operation cancelled >> gpg: signing failed: Operation cancelled >> error: gpg failed to sign the data > > There was an IRC discussion yesterday about this. Probably your pinentry > tries to talk to a GUI and fails. Try: > > unset DISPLAY > export GPG_TTY=$(tty) > > to make it fall back to curses, or use "eselect pinentry" to select curses as > default. > > Interestingly, git requires GPG_TTY if eselect-pinentry is set to gtk-2 or > qt4, but repoman doesn't. > > > Best regards, > Chí-Thanh Christopher Nguyễn > >
$ eselect pinentry show Current pinentry binary implementation: pinentry-curses $ eselect pinentry list Available pinentry binary implementations: [1] pinentry-curses * Its the only version I've got on this machine. The box is headless and I ssh into and I use keychain to manage my SSH and GPG agent. -- Doug Goldstein
