Signing a commit show error
See original GitHub issueHello @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:
- Created 6 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you tried to disable the signing via the
config
option? https://github.com/carloscuesta/gitmoji-cli#config @darkylmnx@carloscuesta It is set to false via
git config --global commit.gpgsign false
. What am I missing here?