macos commitにsigningできなくなった
brew update したら
git commit
時にこんなエラーがでるように
code:sh
error: gpg failed to sign the data
fatal: failed to write commit object
commitは
gpg
で署名している
一度agentを切ってやり直したらいけた
code:sh
gpgconf --kill gpg-agent
ref
https://gist.github.com/cezaraugusto/2c91d141ddec026753051ffcace3f1f2