-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Not working with mbsync/mutt/pass #33
Comments
End of last year was probably the 0.2 update on 31 October. That did include a somewhat large structural change where I moved parts of the code to a helper binary due to paranoia regarding fork()ing a potentially multi-threaded process. Can you add the |
Here's the output of
Not sure what to make of it but apparently something is wrong. |
never confgure it do make it work at login ... i should always run mbsync when i login ... |
2022 ... autor of #36 ... back on arch, still same issue, gpg keys don't get unlocked until i run mbsync |
I'm seeing the same behaviour as StarTroop has detailed. |
same here |
I don't really have an idea what might cause this. To take a wild guess, can you check that the agent is actually running right after login, before running mbsync manually or via timer? Also, does it listen on the correct sockets? |
- yes
- yes
- yes
- no, but it appears after i first unlock gpg key |
If you're okay with having your password in hex encoding written to a temporary log file, can you try adding the lines
to you Does the file contain a line like |
do i need pam-gnump installed and set up before i check what you asked or no? |
Yes, the |
Sir, it was on my side totally. I am using |
To anyone else participating in this thread: I know the issue is pretty old, but if you're still interested, could you attempt the steps I described above for producing an agent log? |
Hi ... I just noticed this comment, sorry I completely forgot about this thread, and i stopped using pam-gnupg ever since the issue arrisen, I was never able to fix it ... but now, I'm tempted to try ... wi'll get back to you soon |
Last year (around October) I had set up neomutt with the mutt wizard tool. Mbsync (aka isync) was set up to download my mail, using a systemd service and timer at 30 minute intervals and 2 minutes after login. This worked initially, but sometime near the end of 2020 I started to get prompts to enter my password at the first activation of mbsync (whether it was manually activated, or through the systemd service,) both after login and once the cache had timed out. Mbsync (and all other mail-related sync programs) all use Pass to pull the password, but I've never been clear on how exactly pass and gnupg integrate.
I've been researching this issue off and on since then, have tried a few configurations, but I can't nail down where the problem lies. Currently, I'm back to having it configured exactly as the readme explains. I'm using Arch, the pam-gnupg package from the AUR.
I have:
at the end of my
system-local-login
.I have:
in my
~/.gnupg/gpg-agent.conf
.I have my correct keygrip in my
~/.pam-gnupg
. I've confirmed that I made no typos anywhere. My user password and gnupg password are identical. I don't use any DM, so I log in from tty and automatically startx into an xfce/i3 environment. I don't believe I've seen any errors relating to pam-gnupg in journald logs.I'm just not sure where the issue lies, and therefore have reached the limit of my ability to troubleshoot it. The only other detail I have is that IIRC the issue started occurring after a pam-gnupg update, but it's been so long that I can't be entirely certain of that, but that's why I'm posting this issue here first.
The text was updated successfully, but these errors were encountered: