git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: pedro rijo <pedrorijo91@gmail.com>
To: Kevin Daudt <me@ikke.info>
Cc: Git Users <git@vger.kernel.org>
Subject: Re: [BUG] Failed to sign commit
Date: Wed, 7 Jun 2017 11:39:17 +0100	[thread overview]
Message-ID: <CAPMsMoCi4JRB7e6DLLOx+i-Gbfeh=EXeytWPn0WruOPJQZ0vow@mail.gmail.com> (raw)
In-Reply-To: <20170607103326.GB27719@alpha.vpn.ikke.info>

Thanks for the hint!

$ GIT_TRACE=1 git commit --allow-empty -v -m "lol"
11:37:24.594795 git.c:369               trace: built-in: git 'commit'
'--allow-empty' '-v' '-m' 'lol'
11:37:24.605842 run-command.c:369       trace: run_command: 'gpg'
'--status-fd=2' '-bsau' '8AEC0DB537A9FC7E'
error: gpg failed to sign the data
fatal: failed to write commit object

It seems more a gpg problem no? something not well configured after
the update perhaps?

2017-06-07 11:33 GMT+01:00 Kevin Daudt <me@ikke.info>:
> On Wed, Jun 07, 2017 at 10:46:08AM +0100, pedro rijo wrote:
>> Recently I've updated a bunch of stuff, including git and gpg. I'm using
>>
>> - mac OS 10.10.5
>> - git 2.13.1
>> - gpg (GnuPG) 2.1.21 / libgcrypt 1.7.7
>>
>> When I do
>>
>> $ git commit --allow-empty -v -m "lol"
>> error: gpg failed to sign the data
>> fatal: failed to write commit object
>>
>> I tried the verbose flag hoping to have a better insight, but not very
>> useful. Not sure if it's a gpg problem, a git problem, or something
>> else.
>>
>> Any clue on how to debug the problem? Do you need any gpg output to
>> better understand the problem?
>>
>> Thanks,
>> Pedro
>
> GIT_TRACE=1 git commit --allow-empty -v -m "lol" might give some extra
> feedback (ie, what gpg command git runs), and try to see if you can
> replicate it.



-- 
Obrigado,

Pedro Rijo

  reply	other threads:[~2017-06-07 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07  9:46 [BUG] Failed to sign commit pedro rijo
2017-06-07 10:33 ` Kevin Daudt
2017-06-07 10:39   ` pedro rijo [this message]
2017-06-07 20:41     ` Bryan Turner
2017-06-09 13:05       ` pedro rijo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPMsMoCi4JRB7e6DLLOx+i-Gbfeh=EXeytWPn0WruOPJQZ0vow@mail.gmail.com' \
    --to=pedrorijo91@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=me@ikke.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).