Hi guys,
I'm using the same profile of Thunderbird both Windows and Linux, and for this reason I don't want to change the homedir of gpg in the Enigmail Preferences.
On Windows I don't have problems instead on Linux I set the environmental variable GNUPGHOME, and gpg works well in the command line, but Enigmail show me "Unverified signature".
Do you have any suggestion?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, I can't see any keys in the Enigmail Key Management.
Moreover, the Enigmail Console show the default path for Home, instead if I execute the same command in my terminal the Home is which one modified by me.
Last edit: b3t 2014-12-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I assume you changed GNUPGHOME in your ~/.bashrc, ~/.profile or similar. That's the wrong place because that's only interpreted when you start a command shell.
Instead you should add the setting of this environment variable to your ~/.xsessionrc file (or ~/.xinitrc depending on how your system is set up). You'll have to log out and login again to have this file is applied.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys,
I'm using the same profile of Thunderbird both Windows and Linux, and for this reason I don't want to change the homedir of gpg in the Enigmail Preferences.
On Windows I don't have problems instead on Linux I set the environmental variable GNUPGHOME, and gpg works well in the command line, but Enigmail show me "Unverified signature".
Do you have any suggestion?
Thanks
Can you see your keys in the Enigmail keymanager?
No, I can't see any keys in the Enigmail Key Management.
Moreover, the Enigmail Console show the default path for Home, instead if I execute the same command in my terminal the Home is which one modified by me.
Last edit: b3t 2014-12-02
Ah, ok, so gnupg, accessed from within Enigmail does not see the GNUPGHOME environment variable.
You should write a wrapper script to start Thunderbird, which explicitly sets and exports GNUPGHOME.
@Ludwig thank you for your support but I have no idea how to write that wrapper script, and it is quite strange that this only happen to me.
Last edit: b3t 2014-12-04
I assume you changed GNUPGHOME in your ~/.bashrc, ~/.profile or similar. That's the wrong place because that's only interpreted when you start a command shell.
Instead you should add the setting of this environment variable to your ~/.xsessionrc file (or ~/.xinitrc depending on how your system is set up). You'll have to log out and login again to have this file is applied.
@Patrick thank you very much!
You're right, I changed GNUPGHOME in ~/.xinitrc and Enigmail works well.