Gentoo Archives: gentoo-dev

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] git commit / push signing error
Date: Mon, 10 Aug 2015 08:36:50
Message-Id: 55C8628F.8020003@gentoo.org
In Reply to: [gentoo-dev] git commit / push signing error by Doug Goldstein
1 Doug Goldstein schrieb:
2 > gpg: cancelled by user
3 > gpg: skipped "0xA2BC03DC87ED1BD4": Operation cancelled
4 > gpg: signing failed: Operation cancelled
5 > error: gpg failed to sign the data
6
7 There was an IRC discussion yesterday about this. Probably your pinentry
8 tries to talk to a GUI and fails. Try:
9
10 unset DISPLAY
11 export GPG_TTY=$(tty)
12
13 to make it fall back to curses, or use "eselect pinentry" to select curses as
14 default.
15
16 Interestingly, git requires GPG_TTY if eselect-pinentry is set to gtk-2 or
17 qt4, but repoman doesn't.
18
19
20 Best regards,
21 Chí-Thanh Christopher Nguyễn

Replies

Subject Author
Re: [gentoo-dev] git commit / push signing error Doug Goldstein <cardoe@g.o>