Replies: 2 comments 1 reply
-
Here is the full story. A bit lengthy. More of a show-and-tell, actually. I'd like to use Ma(git) + GnuPG + ssh + OpenPGP SmartCard (but luckily w/o TRAMP) in the following way:
Here is what I cobbled up so far:
Emacs configuration:
That fulfills my requirements, but if Magit could help a bit more I'd appreciate that. |
Beta Was this translation helpful? Give feedback.
-
Yet on the other hand, EPA/EPG does not seem to work well with OpenPGP SmartCards when using loopback pinentry, so it seems that I have to go for |
Beta Was this translation helpful? Give feedback.
-
Emacs Version:
Magit version:
I'd like to use
pinentry-tty
in Emacs as pinentry for GnuPG prompts triggered by (Ma)git (I'll elaborate on the "why" in a follow-up comment). However, usingpinentry-tty
requiresGPG_TTY
to be set. Probably Magit could help here?I guess that for this to work, Magit first would need to acquire a pty and then start the
git
process withGPG_TTY=<acquired-pty>
added toprocess-environment
. Not sure whether this is technically feasible and you deem it worth the effort, but it could save me another stupid wrapping script.Beta Was this translation helpful? Give feedback.
All reactions