1 |
On 10 August 2015 at 13:40, Doug Goldstein <cardoe@g.o> wrote: |
2 |
> $ git push --signed origin master |
3 |
> |
4 |
> You need a passphrase to unlock the secret key for |
5 |
> user: "Doug Goldstein <cardoe@××××××.com>" |
6 |
> 4096-bit RSA key, ID 0xA2BC03DC87ED1BD4, created 2015-04-24 |
7 |
> (subkey on main key ID 0x6C4E620431C9980D) |
8 |
> |
9 |
> gpg: cancelled by user |
10 |
> gpg: skipped "0xA2BC03DC87ED1BD4": Operation cancelled |
11 |
> gpg: signing failed: Operation cancelled |
12 |
> error: gpg failed to sign the data |
13 |
> fatal: failed to sign the push certificate |
14 |
> fatal: The remote end hung up unexpectedly |
15 |
|
16 |
|
17 |
Your GPG is not working correctly. |
18 |
|
19 |
eg: echo hello | gpg -a --sign # also fails |
20 |
|
21 |
export GPG_TTY=$(tty) |
22 |
|
23 |
try again. ( The GPG-Agent associates with the tty it was spawned in |
24 |
by default, and that tty might have evaporated ) |
25 |
|
26 |
|
27 |
-- |
28 |
Kent |
29 |
|
30 |
KENTNL - https://metacpan.org/author/KENTNL |