Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] can't gpg sign with repoman, but can with git
Date: Wed, 19 Jul 2017 19:57:36
Message-Id: 1067a22c-5df0-8536-ff99-c55ef3b4bfc3@gentoo.org
In Reply to: Re: [gentoo-dev] can't gpg sign with repoman, but can with git by Andrew Savchenko
1 On 07/19/2017 15:43, Andrew Savchenko wrote:
2 > On Wed, 19 Jul 2017 21:24:49 +0200 Paweł Hajdan, Jr. wrote:
3 >> Hey folks,
4 >>
5 >> This is mysterious, and likely some issue with my setup, although it
6 >> used to work.
7 >>
8 >> Trying tocommit with repoman commit (app-portage/repoman version 2.3.1)
9 >> results in the following:
10 >>
11 >> * 4 files being committed...
12 >> error: gpg failed to sign the data
13 >> fatal: failed to write commit object
14 >> !!! Exiting on git (shell) error code: 128
15 >>
16
17 [snip]
18 >
19 [snip]
20
21 > Make sure that GPG_TTY is set in your shell.
22
23 ^^^--- This is likely the issue.
24
25 Add:
26 export GPG_TTY=`tty`
27
28 To your ~/.bash_profile (or wherever you put your PORTAGE_GPG_KEY value), and
29 that should solve the issue. I got bit by this once, and spent a while
30 convincing Google that I'm not a robot to get that answer.
31
32 --
33 Joshua Kinard
34 Gentoo/MIPS
35 kumba@g.o
36 6144R/F5C6C943 2015-04-27
37 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
38
39 "The past tempts us, the present confuses us, the future frightens us. And our
40 lives slip away, moment by moment, lost in that vast, terrible in-between."
41
42 --Emperor Turhan, Centauri Republic

Replies

Subject Author
Re: [gentoo-dev] can't gpg sign with repoman, but can with git Mart Raudsepp <leio@g.o>