On 10 August 2015 at 13:40, Doug Goldstein <[email protected]> wrote: > $ git push --signed origin master > > You need a passphrase to unlock the secret key for > user: "Doug Goldstein <[email protected]>" > 4096-bit RSA key, ID 0xA2BC03DC87ED1BD4, created 2015-04-24 > (subkey on main key ID 0x6C4E620431C9980D) > > gpg: cancelled by user > gpg: skipped "0xA2BC03DC87ED1BD4": Operation cancelled > gpg: signing failed: Operation cancelled > error: gpg failed to sign the data > fatal: failed to sign the push certificate > fatal: The remote end hung up unexpectedly
Your GPG is not working correctly. eg: echo hello | gpg -a --sign # also fails export GPG_TTY=$(tty) try again. ( The GPG-Agent associates with the tty it was spawned in by default, and that tty might have evaporated ) -- Kent KENTNL - https://metacpan.org/author/KENTNL
