Gentoo Archives: gentoo-dev

From: Doug Goldstein <cardoe@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] git commit / push signing error
Date: Mon, 10 Aug 2015 13:13:56
Message-Id: CAFWqQMSyM_ET=SLUHpXP=so=NZzC2R1VMABrmx9Q19Sz16SnYw@mail.gmail.com
In Reply to: Re: [gentoo-dev] git commit / push signing error by Kent Fredric
1 On Sun, Aug 9, 2015 at 9:00 PM, Kent Fredric <kentfredric@×××××.com> wrote:
2 > On 10 August 2015 at 13:40, Doug Goldstein <cardoe@g.o> wrote:
3 >> $ git push --signed origin master
4 >>
5 >> You need a passphrase to unlock the secret key for
6 >> user: "Doug Goldstein <cardoe@××××××.com>"
7 >> 4096-bit RSA key, ID 0xA2BC03DC87ED1BD4, created 2015-04-24
8 >> (subkey on main key ID 0x6C4E620431C9980D)
9 >>
10 >> gpg: cancelled by user
11 >> gpg: skipped "0xA2BC03DC87ED1BD4": Operation cancelled
12 >> gpg: signing failed: Operation cancelled
13 >> error: gpg failed to sign the data
14 >> fatal: failed to sign the push certificate
15 >> fatal: The remote end hung up unexpectedly
16 >
17 >
18 > Your GPG is not working correctly.
19 >
20 > eg: echo hello | gpg -a --sign # also fails
21 >
22 > export GPG_TTY=$(tty)
23 >
24 > try again. ( The GPG-Agent associates with the tty it was spawned in
25 > by default, and that tty might have evaporated )
26 >
27 >
28 > --
29 > Kent
30 >
31 > KENTNL - https://metacpan.org/author/KENTNL
32 >
33
34 This was it. Thanks. I use keychain and ssh into the box so I would
35 expect keychain would handle things for me correctly.
36
37 --
38 Doug Goldstein