Open NoSubstitute opened 5 years ago
Hi @NoSubstitute, this error message seems to be related to pinentry (the gnupg password dialog) not being able to come up. Did it appear at all?
I don't know much about macOS issues, but that might be just the pointer you need: https://github.com/Homebrew/homebrew-core/issues/14737#issuecomment-309547412
apparently goes away with when using zsh
export GPG_TTY=$(tty)
I hit the same issue on Fedora 32. I have Firefox set up and working with opengpg backend, but I can not make it work with chrome on the same system. I configured the opengpg backend properly, but I am not able to encrypt the file while running the chrome from gnome-shell. When I run it from a terminal with GPG_TTY set, pinentry prompts me for the pin in the respective tty and then I am able to encrypt the file. If you have an idea for further investigation, please let me know, I will provide as much feedback as I can.
Hello @ogajduse
FYI, check what @MK-intevation has written in his response. That fixes problem.
I still have the problem when I use Mailvelope in Firefox (87.0) and try to encrypt emails (in an email provider web page) My setup follow the instruction here https://github.com/mailvelope/mailvelope/issues/699#issuecomment-572550390 also on macos 10.14.
At the moment the only workaround is to use 'pinentry-mac' as described here https://github.com/Homebrew/homebrew-core/issues/14737#issuecomment-309547412
Any update for this "issue"? if the workaround is recommended, you may put it in the document or FAQ.
MacOS 10.14.4 Chrome 73.0.3683.103 Mailvelope 3.1.0
Finally got Mailvelope to recognise the installed gnupg after following all the advice in #651 So I've run the command to include gnupg in path, and restarted the MBP and Chrome. Not running Chrome from Terminal, but as a regular app from Dock, as I am supposed to.
sudo launchctl config system path /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Key management of the gnupg keys work fine.
Then immediately got a new error when I tried to decrypt.
No other clues.
This is way more complex than it ought to be. :-/