question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Signing a commit show error

See original GitHub issue

Hello @carloscuesta!

Unable to sign a commit in the latest upgrade like the previous version when the option of signing a commit has a default of Y. The error will not show when not signing one. If that’s the case, the option of signing a commit should be default to n.

ERROR: gpg: skipped "John Doe <john_doe@gmail.com>": secret key not available
gpg: signing failed: secret key not available
error: gpg failed to sign the data
fatal: failed to write commit object

Issue:

OS: gitmoji-cli -v: 1.5.3 Node version: 7.10.0

Error Message:

ERROR: gpg: skipped "John Doe <john_doe@gmail.com>": secret key not available
gpg: signing failed: secret key not available
error: gpg failed to sign the data
fatal: failed to write commit object

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
carloscuestacommented, Apr 18, 2018

Did you tried to disable the signing via the config option? https://github.com/carloscuesta/gitmoji-cli#config @darkylmnx

0reactions
mixncommented, Aug 24, 2018

@carloscuesta It is set to false via git config --global commit.gpgsign false. What am I missing here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git error - gpg failed to sign data
For troubleshooting, two things to first try: run gpg --version , and make sure you have GnuPG version 2+ (not version 1) installed;...
Read more >
7.4 Git Tools - Signing Your Work
If the merge contains only valid signed commits, the merge command will show you all the signatures it has checked and then move...
Read more >
Signing and Verifying Git Commits on the Command Line ...
We'll go over signing commits and tags with a GPG key along with sending and receiving GPG public keys to a Keyserver for...
Read more >
SourceTree commits fail when using Git signed commits
This error occurs when the System Git or the repository has been configured outside of SourceTree to sign all commits, but SourceTree isn't....
Read more >
Signing Git Commits - Ed-Fi Tech Docs
If the following error message occurs after attempting a commit: ... Open a Git Bash session and type find the location of gpg...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found