I have an error with signing my commits by git commit -S -m 'test'
and getting these errors:
error: gpg failed to sign the data
fatal: failed to write commit object
I already tried this solution and still not working right.
Also tried this and still nothing.
I have Macbook Pro 2017 with the latest macOS.
Is there any other solution how I can fix it and properly commit my commits to Github or Gitlab?