{"thread":{"id":"36943","subject":"Why does gpg.program work for commit but not log?","startedAt":"2014-06-18T04:18:35Z","lastAt":"2014-06-18T17:12:04Z","messageCount":5,"participants":["Jason Pyeron","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"244498","messageId":"ABACA8639E2A49BA8A1E602DBE815867@black","threadId":"36943","inReplyTo":null,"subject":"Why does gpg.program work for commit but not log?","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2014-06-18T04:18:35Z","receivedAt":"2014-06-18T04:18:35Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"jpyeron@black /projects/microsoft-smartcard-sign/tmp\n$ git --version\ngit version 1.7.9\njpyeron@black /projects/microsoft-smartcard-sign/tmp\n$ GIT_TRACE=1 git commit -S -m 'bin'\ntrace: built-in: git 'commit' '-S' '-m' 'bin'\ntrace: run_command: '/projects/microsoft-smartcard-sign/tmp/bin/logginggpg.sh'\n'-bsau' 'Jason Pyeron <jpyeron+test3@pdinc.us>'\ngpg: WARNING: using insecure memory!\ngpg: please see http://www.gnupg.org/documentation/faqs.html for more\ninformation\n\nYou need a passphrase to unlock the secret key for\nuser: \"Jason Pyeron <jpyeron+test3@pdinc.us>\"\n2048-bit RSA key, ID 54D0E8E4, created 2014-06-18\n\n[master 38afa1f] bin\n 1 files changed, 19 insertions(+), 0 deletions(-)\n create mode 100755 bin/logginggpg.sh\n\njpyeron@black /projects/microsoft-smartcard-sign/tmp\n$ GIT_TRACE=1 git log --show-signature\ntrace: built-in: git 'log' '--show-signature'\ntrace: run_command: 'less'\ntrace: exec: 'less'\ntrace: run_command: 'gpg' '--verify' '/tmp/.git_vtag_tmpNLFqtm' '-'\ncommit 38afa1f4d0c73fd47d5788310a1a2080aa0abbba\ngpg: WARNING: using insecure memory!\ngpg: please see http://www.gnupg.org/documentation/faqs.html for more\ninformation\ngpg: Signature made Wed, Jun 18, 2014  0:11:40 EDT using RSA key ID 54D0E8E4\ngpg: Good signature from \"Jason Pyeron <jpyeron+test3@pdinc.us>\"\nAuthor: Jason Pyeron <jpyeron+test3@pdinc.us>\nDate:   Wed Jun 18 00:11:40 2014 -0400\n\n    bin\ntrace: run_command: 'gpg' '--verify' '/tmp/.git_vtag_tmp41t6O6' '-'\n\ncommit 174d4544627883c4b03a9b888c2d2c127accefa5\ngpg: WARNING: using insecure memory!\ngpg: please see http://www.gnupg.org/documentation/faqs.html for more\ninformation\ngpg: Signature made Wed, Jun 18, 2014  0:08:39 EDT using RSA key ID 54D0E8E4\ngpg: Good signature from \"Jason Pyeron <jpyeron+test3@pdinc.us>\"\nAuthor: Jason Pyeron <jpyeron+test3@pdinc.us>\nDate:   Wed Jun 18 00:08:39 2014 -0400\n\n    loged signed commit\ntrace: run_command: 'gpg' '--verify' '/tmp/.git_vtag_tmpo6b0D3' '-'\n\ncommit 4f7ad8a8f38b06d675ac5196c80b1a26ecbee433\ngpg: WARNING: using insecure memory!\ngpg: please see http://www.gnupg.org/documentation/faqs.html for more\ninformation\ngpg: Signature made Tue, Jun 17, 2014 23:18:01 EDT using RSA key ID 54D0E8E4\ngpg: Good signature from \"Jason Pyeron <jpyeron+test3@pdinc.us>\"\nAuthor: Jason Pyeron <jpyeron+test3@pdinc.us>\nDate:   Tue Jun 17 23:17:55 2014 -0400\n\n    test signed commit\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nThis message is copyright PD Inc, subject to license 20080407P00.\n"},{"id":"244503","messageId":"20140618073645.GA24769@sigill.intra.peff.net","threadId":"36943","inReplyTo":"ABACA8639E2A49BA8A1E602DBE815867@black","subject":"Re: Why does gpg.program work for commit but not log?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-06-18T07:36:45Z","receivedAt":"2014-06-18T07:36:45Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Jun 18, 2014 at 12:18:35AM -0400, Jason Pyeron wrote:\n\n> jpyeron@black /projects/microsoft-smartcard-sign/tmp\n> $ git --version\n> git version 1.7.9\n\nThat's rather old. In the meantime we have:\n\n\tcommit 6005dbb9bf21d10b209f7924e305bd04b9ab56d2\n\tAuthor: Jacob Sarvis <jsarvis@openspan.com>\n\tDate:   Wed Mar 27 10:13:39 2013 -0500\n\t\n\t    log: read gpg settings for signed commit verification\n\t    \n\t    \"show --show-signature\" and \"log --show-signature\" do not read the\n\t    gpg.program setting from git config, even though, commit signing,\n\t    tag signing, and tag verification honor it.\n\nwhich is in v1.8.3.  In general, please double-check your problem\nagainst a recent version of \"master\" when making a bug report.\n\n-Peff\n"},{"id":"244513","messageId":"9B9CF0F915BD4325BC92BBA1339B1B4E@black","threadId":"36943","inReplyTo":"20140618073645.GA24769@sigill.intra.peff.net","subject":"RE: Why does gpg.program work for commit but not log?","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2014-06-18T12:38:32Z","receivedAt":"2014-06-18T12:38:32Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"> -----Original Message-----\n> From: git-owner@vger.kernel.org \n> [mailto:git-owner@vger.kernel.org] On Behalf Of Jeff King\n> Sent: Wednesday, June 18, 2014 3:37\n> To: Jason Pyeron\n> Cc: git@vger.kernel.org\n> Subject: Re: Why does gpg.program work for commit but not log?\n> \n> On Wed, Jun 18, 2014 at 12:18:35AM -0400, Jason Pyeron wrote:\n> \n> > jpyeron@black /projects/microsoft-smartcard-sign/tmp\n> > $ git --version\n> > git version 1.7.9\n> \n> That's rather old. In the meantime we have:\n> \n> \tcommit 6005dbb9bf21d10b209f7924e305bd04b9ab56d2\n> \tAuthor: Jacob Sarvis <jsarvis@openspan.com>\n> \tDate:   Wed Mar 27 10:13:39 2013 -0500\n> \t\n> \t    log: read gpg settings for signed commit verification\n> \t    \n> \t    \"show --show-signature\" and \"log --show-signature\" \n> do not read the\n> \t    gpg.program setting from git config, even though, \n> commit signing,\n> \t    tag signing, and tag verification honor it.\n> \n> which is in v1.8.3.  In general, please double-check your problem\n> against a recent version of \"master\" when making a bug report.\n> \n\nI will (try to) compile master and test. This is the latest version in cygwin.\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nThis message is copyright PD Inc, subject to license 20080407P00.\n\n \n"},{"id":"244514","messageId":"20140618125116.GA7753@sigill.intra.peff.net","threadId":"36943","inReplyTo":"9B9CF0F915BD4325BC92BBA1339B1B4E@black","subject":"Re: Why does gpg.program work for commit but not log?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-06-18T12:51:16Z","receivedAt":"2014-06-18T12:51:16Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Jun 18, 2014 at 08:38:32AM -0400, Jason Pyeron wrote:\n\n> > That's rather old. In the meantime we have:\n> > \n> > \tcommit 6005dbb9bf21d10b209f7924e305bd04b9ab56d2\n> [...]\n> \n> I will (try to) compile master and test. This is the latest version in cygwin.\n\nTo save you some trouble, I actually found that commit by reproducing\nyour problem on Linux and bisecting. So I'm fairly sure it will fix it\nfor you. :)\n\nYou may want to bug the cygwin packagers about updating their version of\ngit. v1.7.9 is two and a half years old, and since then we have many\nbugfixes, including some which are specifically targeted at cygwin\n(which can only lead me to assume a lot of people are building from\nsource on cygwin).\n\n-Peff\n"},{"id":"244535","messageId":"52E5FCA4AECC48EBB91476B2F789754C@black","threadId":"36943","inReplyTo":"20140618073645.GA24769@sigill.intra.peff.net","subject":"RE: Why does gpg.program work for commit but not log?","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2014-06-18T17:12:04Z","receivedAt":"2014-06-18T17:12:04Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\nThis message is copyright PD Inc, subject to license 20080407P00.\n\n \n\n> -----Original Message-----\n> From: git-owner@vger.kernel.org \n> [mailto:git-owner@vger.kernel.org] On Behalf Of Jeff King\n> Sent: Wednesday, June 18, 2014 3:37\n> To: Jason Pyeron\n> Cc: git@vger.kernel.org\n> Subject: Re: Why does gpg.program work for commit but not log?\n> \n> On Wed, Jun 18, 2014 at 12:18:35AM -0400, Jason Pyeron wrote:\n> \n> > jpyeron@black /projects/microsoft-smartcard-sign/tmp\n> > $ git --version\n> > git version 1.7.9\n> \n> That's rather old. In the meantime we have:\n> \n> \tcommit 6005dbb9bf21d10b209f7924e305bd04b9ab56d2\n> \tAuthor: Jacob Sarvis <jsarvis@openspan.com>\n> \tDate:   Wed Mar 27 10:13:39 2013 -0500\n> \t\n> \t    log: read gpg settings for signed commit verification\n> \t    \n> \t    \"show --show-signature\" and \"log --show-signature\" \n> do not read the\n> \t    gpg.program setting from git config, even though, \n> commit signing,\n> \t    tag signing, and tag verification honor it.\n> \n> which is in v1.8.3.  In general, please double-check your problem\n> against a recent version of \"master\" when making a bug report.\n\nOk, so now I will be using locally compiled git. \n\njpyeron@black /projects/microsoft-smartcard-sign/tmp\n$ /projects/git/local-build/bin/git --version\ngit version 1.8.4.21.g992c386\n\njpyeron@black /projects/microsoft-smartcard-sign/tmp\n$ GIT_TRACE=1 /projects/git/local-build/bin/git log --show-signature\ntrace: built-in: git 'log' '--show-signature'\ntrace: run_command: 'less'\ntrace: exec: 'less'\ntrace: run_command: '/projects/microsoft-smartcard-sign/tmp/bin/logginggpg.sh'\n'--status-fd=1' '--verify' '/tmp/.git_vtag_tmp66WxpM' '-'\ncommit 38afa1f4d0c73fd47d5788310a1a2080aa0abbba\n"}]}