Signing git commits from OSX | Funky Penguin

When cleaning up issues/PRs in Funky Penguin’s Geek’s Cookbook repository today, I noticed that PRs committed from the GitHub website included verified commits, but my own commits (from my latop) were not verified.


This is a companion discussion topic for the original entry at https://www.funkypenguin.co.nz/note/signing-commits-from-osx/

Self-note : After restarting OSX, I was faced with an error on committing:

error: gpg failed to sign the data

I followed this post, and ran:

killall gpg-agent
gpg-agent --daemon

Which fixed the problem (this time). I may have to refer back to the thread for a permanent fix…