-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mew hangs when using gpg-agent with non graphical pinentry frontend. #68
Comments
Correction: Mew doesn't hang forever. During the |
Do you use this? |
No, I only use gpg. |
If you use GnuPG 2, I think the configuration in the page is necessary. |
Oh I see, you meant the installation section. Yeah, seems to work now with mew-pinentry set as the pinentry program :) Thanks! |
When mew tries to decrypt
.mew-passwd.gpg
it hangs forever when no graphical (i.e. gtk/qt) pinentry program is installed and gpg-agent is in use. I use pinentry-curses usually but when I additionally installpinentry-gtk2
I get a graphical prompt instead of it just hanging.(setenv "GPG_AGENT_INFO" "")
before starting mew seems to work around the issue however this is unsatisfactory as then gpg-agent's functionality is broken in any terminal started as a child process of emacs. When using this workaround I get the nice password prompt in emacs' minibuffer as I'd expect (and not the hang or a graphical prompt).Sorry I can't provide more detailed information but the complete hang of emacs makes this bug very hard to debug, maybe you have at least some idea why this might be happening and what can be done about it.
The text was updated successfully, but these errors were encountered: