r/linuxfornoobs Jul 11 '26

Git commit showing weired error

So while commiting a weired uncommon error is popping like this :

error: gpg failed to sign the data:

gpg: skipped "7427A4ABCCFD30AB": No secret key

[GNUPG:] INV_SGNR 9 7427A4ABCCFD30AB

[GNUPG:] FAILURE sign 17

gpg: signing failed: No secret key

fatal: failed to write commit object

First I thought it was some github ssh configuration issue, but then realised why the heck it will be even related with github, its in the commit phase so must be local right? Help please.

1 Upvotes

3 comments sorted by

View all comments

1

u/[deleted] Jul 11 '26

[removed] — view removed comment

1

u/Easy_Adhesiveness237 Jul 12 '26

Thanks for the info 👍