* GPG signing is bent on WIndows
@ 2018-09-26 20:05 Jeffrey Walton
2018-09-26 21:41 ` Tacitus Aedifex
2018-11-09 12:31 ` Johannes Schindelin
0 siblings, 2 replies; 3+ messages in thread
From: Jeffrey Walton @ 2018-09-26 20:05 UTC (permalink / raw)
To: Git List
Several weeks ago I updated to the latest Git for Windows (when
prompted by the version check). At the time I noticed:
$ git commit -S -am "Fix unset MAKE variable in test scripts"
gpg: signing failed: No pinentry
gpg: signing failed: No pinentry
error: gpg failed to sign the data
fatal: failed to write commit object
I got to look at it today. On Windows:
$ cat ~/.gnupg/gpg-agent.conf
pinentry-program
/usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GPG signing is bent on WIndows
2018-09-26 20:05 GPG signing is bent on WIndows Jeffrey Walton
@ 2018-09-26 21:41 ` Tacitus Aedifex
2018-11-09 12:31 ` Johannes Schindelin
1 sibling, 0 replies; 3+ messages in thread
From: Tacitus Aedifex @ 2018-09-26 21:41 UTC (permalink / raw)
To: Git List
On Wed, Sep 26, 2018 at 04:05:02PM -0400, Jeffrey Walton wrote:
>I got to look at it today. On Windows:
>
>$ cat ~/.gnupg/gpg-agent.conf
>pinentry-program
>/usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
Do you have this app on your system? That path looks like one for a mac
pinentry program and won't work on Windows. There are several tutorials on the
web that explain how to get GPG working on windows. I suggest starting there.
Get so that you can sign normal files from the command line on Windows and then
try again.
//tæ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GPG signing is bent on WIndows
2018-09-26 20:05 GPG signing is bent on WIndows Jeffrey Walton
2018-09-26 21:41 ` Tacitus Aedifex
@ 2018-11-09 12:31 ` Johannes Schindelin
1 sibling, 0 replies; 3+ messages in thread
From: Johannes Schindelin @ 2018-11-09 12:31 UTC (permalink / raw)
To: Jeffrey Walton; +Cc: Git List
Hi Jeff,
On Wed, 26 Sep 2018, Jeffrey Walton wrote:
> Several weeks ago I updated to the latest Git for Windows (when
> prompted by the version check). At the time I noticed:
>
> $ git commit -S -am "Fix unset MAKE variable in test scripts"
> gpg: signing failed: No pinentry
> gpg: signing failed: No pinentry
> error: gpg failed to sign the data
> fatal: failed to write commit object
>
> I got to look at it today. On Windows:
>
> $ cat ~/.gnupg/gpg-agent.conf
> pinentry-program
> /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
Git for Windows is partially based off of MSYS2, which upgraded GPG from
v1 to v2, and one of the consequences is that v2 handles interaction with
the user differently.
My guess is that you copied your config from a Mac, and the path is simply
incorrect. I would wager a bet that it starts working when you remove that
line with the incorrect path, as the default should work plenty fine for
you.
Ciao,
Johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-09 12:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26 20:05 GPG signing is bent on WIndows Jeffrey Walton
2018-09-26 21:41 ` Tacitus Aedifex
2018-11-09 12:31 ` Johannes Schindelin
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).