Signing outgoing emails using GPG in mutt: "Permission Denied?"
I'm having the timiest of times getting the mutt email client to sign outgoing emails with my GPG key. Here's my .muttrc currently, as suggested here:
Code:
set crypt_use_gpgme=yes Code:
error signing data: Permission denied? I've got gpg-agent and pinentry installed. Working in an ssh session (not trying to tunnel or anything like that). Running mutt as root. Root attained via "su -" from a standard user. No X server running. I've tried several things: environment variables
My best hunch at the moment is some permissions quirk of using "su -", but that's just where I'm at now. I've tried running mutt as a regular user (with its own generated GPG key) to no avail, still the same "Permission denied?" message after trying to send. Makes me worried it could be some missing package. Could use some help on this one! :banghead: |
It seems that doing su in a user ssh session will throw an error with gpg.
Some explanation and a remedy if you do want to work with su (is beeing root really necessary for your task ?) : https://askubuntu.com/questions/1080...mission-denied |
Thanks for mentioning that. I thought I had already accounted for that by using the same .muttrc with a user with lesser privileges. However, that user was *not* the same as the one I ssh'd to, and I had used 'su -' already. To clarify, the following did not work:
Code:
me@elsewhere:~$ ssh usera@place Code:
me@elsewhere:~$ ssh usera@place Code:
userb@place:~$ ls -lh $(tty) |
My bet is it is an environment variable issue, try 'su --login ..' or 'sudo --login ..', and check GNUPGHOME is set correctly.
|
All times are GMT -5. The time now is 07:41 AM. |