-
Notifications
You must be signed in to change notification settings - Fork 47
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
Password prompt on every sync #217
Comments
What code are you using exactly to set this variable? You should use something like
|
Also what version of Emacs are you using? The relevant code is ancient, so it shouldn't matter, but just want to check. |
This is exactly how I set the variable. I'm using Emacs 27.1 on Ubuntu. org-gcal version is 20221120.2150. |
How odd. What's in the variable |
It's set to |
That's strange. As long as you successfully enter your password at that prompt, it should save it. The prompt does say "Passphrase for PLSTORE", right? |
Yeah, I don't have that. It looks like you have some GTK Emacs, maybe on Ubuntu? I don't know what customizations they made there. They probably want to ensure I would first try checking "Save in password manager" and see if that helps. If that doesn't help, try running
So another workaround is to figure out how to use |
I had the same problem and using "Save in password manager" helped |
I tried "Save in password manager", it seems to work temporarily within several minutes of the save. When I try to sync again an hour or two later, it asks for password again. My issue looks very similar to the one reported here. I tried unsetting the environment variable |
I am also having this issue and seeing the same dialogue on debian-11 with emacs-28.2 built from source (so no ubuntu customisations present). Other data points: I have a gpg-agent running and /usr/bin/pinentry points to /usr/bin/pinentry-gnome3. This is made more unpleasant by the fact that I also run EXWM as my window manager and the pinentry dialogue freezes that until I spam ESC. |
@nshi and @franburstall I just realized my pinentry mode variable was set to nil and set it to 'loopback: (setq epg-pinentry-mode 'loopback) everything happens in emacs then (no dialog) |
That is helpful: thank you.
…On Sat, 10 Dec 2022 at 11:40, Sébastien Le Maguer ***@***.***> wrote:
@nshi <https://github.com/nshi> and @franburstall
<https://github.com/franburstall> I just realized my pinentry mode
variable was set to nil and set it to 'loopback:
(setq epg-pinentry-mode 'loopback)
everything happens in emacs then (no dialog)
—
Reply to this email directly, view it on GitHub
<#217 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLWERT6NYJKMEN4OSD5CGTWMRT23ANCNFSM6AAAAAASO3PQ3E>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you so much, @seblemaguer. This solved the problem. |
Can I still comment here? I still have this problem (together with the reauthentication in issue #227). I'm running GTK Emacs on Ubuntu, so I guess it has something to do with GPG (PGP??). This is the relevant part of my .emacs:
|
After the recent updates, I started getting the password prompt on every sync even with
plstore-cache-passphrase-for-symmetric-encryption
set tot
. Any advice on what to check or try? Thanks.The text was updated successfully, but these errors were encountered: