Open sajith opened 1 month ago
Adding (setq epg-pinentry-mode 'loopback)
to .emacs
seems to help. This causes Emacs to read gpg passphrase from minibuffer.
Turns out that (setq epg-pinentry-mode 'loopback)
does not help. I'm still getting the first error message when doing a git commit.
Since Emacs 28 has a bug that affects me, I'm trying to use Emacs 29.3 flatpak on Debian 12. Debian 12 has Flatpak 1.14.4. I'm stuck a little, because I can't sign my commit messages, which is a requirement in some of the projects that I work on.
When I try to do git commits using magit from Emacs flatpak, I get this error message:
Another problem: my
(setq auth-sources '("~/.authinfo.gpg"))
line also do not work.I don't quite understand this. It seems to me that flatpak Emacs ships its own gpg, which is newer than what's on Debian 12. Can't the gpg in Emacs flatpak talk to its own gpg-agent then?
How can I make this work?