~/.gitconfig
excerpt
[user]
name = BrutalBirdie
email = hidden
signingkey = hidden
[commit]
gpgsign = true
~/.gnupg/gpg-agent.conf
default-cache-ttl 300
max-cache-ttl 999999max-cache-ttl 1200
pinentry-timeout 0
pinentry-program /usr/bin/pinentry
I can also use pass
to get my passwords via gpg, no problem.
But when I do git commit -m 'foo bar'
git commit -m 'foo bar'
error: gpg failed to sign the data
fatal: failed to write commit object
I migrated from Manjaro to Garuda and also copy-pasted my old ~/.gnupg
folder to the new system.
Also tried a fresh one with no success.