I have setup gpg signing using sourcetree but cannot commit anything via sourcetree as I get the below error. it works perfectly from git bash and other git tools.
I have also noticed that my pubring.kbx file exists in %appdata%/gnupg/pubring.kbx but Sourcetree is prefixing the path to my repo before it, why?! How do I change that?
git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\RD\AppData\Local\Temp\mrso10yh.pxh gpg: keyblock resource 'C:/PATH_TO_REPOSITORY/%appdata%/gnupg/pubring.kbx': No such file or directory gpg: skipped "XXXXXX": No secret key gpg: signing failed: No secret key error: gpg failed to sign the data fatal: failed to write commit object Completed with errors, see above.