denolehov / obsidian-git

Backup your Obsidian.md vault with git
MIT License
6.14k stars 250 forks source link

Still, can't get obsidian to work with git gpg signing #641

Open lnxfsf opened 7 months ago

lnxfsf commented 7 months ago

I still can't get obsidian to work with git gpg signing, it says:

Error I get is:

git obsidian error: error: gpg failed to sign the data:
[GNUPG:] KEY_CONSIDERED xxxxxxxxxxxxxxxxxxxxxxxx 2
[GNUPG:] BEGIN_SIGNING H8
gpg: signing failed: No pinentry
[GNUPG:] FAILURE sign xxxxxxxx
gpg: signing failed: No pinentry

fatal: failed to write commit object



# .gitconfig

[gpg]
    program = /usr/bin/gpg
[commit]
    gpgsign = true

I checked this, but still doesn't solve issue: