Skip to content
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

Key passphrase dialog is sometimes inaccessible #7

Open
akater opened this issue Jan 18, 2017 · 3 comments
Open

Key passphrase dialog is sometimes inaccessible #7

akater opened this issue Jan 18, 2017 · 3 comments

Comments

@akater
Copy link

akater commented Jan 18, 2017

Sometimes pinentry-emacs dialog won't appear, even though emacs-pinentry process is started. I'm not sure if this is pinentry-emacs related, as the bug is also not easy to reproduce.

I use EXWM but had this issue in standalone emacs too, though it seems EXWM still could be partially responsible. Still, even in standalone emacs the bug (in a less severe form) routinely occurs on M-x find-file /sudo::/etc/ TAB — at this moment tramp requests password from password-store. No dialog appears on screen, only message “Tramp: Sending password”. In this particular situation, C-g makes the passphrase entry dialog to appear, although sometimes stripped to its last line only (this last peculiarity could have something to do with my echo area being hidden by default). Note: this workaround is far less robust for M-x find-file /sudo::/ TAB, without etc: is the latter case, on C-g tramp often simply complains it can't obtain password and quits. This looks more like a tramp issue but might provide some insight.

Sometimes, though, the dialog is inaccessible when I request arbitrary passwords from password-store by means of password-store-copy function from package password-store, in which cases Emacs freezes for a minute or so (I assume pinentry-emacs process is then terminated due to user inactivity). It seems 99% safe to call pass -c, even from external terminal run under EXWM control (the dialog is likely always accessible this way), certainly safer than by means of password-store-copy.

Overall, it could be password-store-specific issue. Tramp probably uses auth-password-store which in turn uses password-store. However, the symptoms are different, and I have vague memories of the issue being present independently of password-store. After spending some weeks in doubt, I decided to post here.

All packages are from melpa — not from melpa-stable but the issue is persistent for some months, since 2016-09, I guess.

Emacs 24, GTK+2 build

@dieggsy
Copy link

dieggsy commented Aug 2, 2017

I don't think this is pinentry-emacs related, as i'm having a similar issue and not using pinentry-emacs.

@ecraven
Copy link
Owner

ecraven commented Nov 27, 2017

I've started using exwm a few days ago, and had the problem that the gtk pinentry would not let me enter any actual text (though the buttons and checkbox worked fine).
I've updated pinentry-emacs to work for me (current arch linux), do you still see these problems?

@akater
Copy link
Author

akater commented Nov 28, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants