I've been having trouble making neomutt work with encryption. I had tried various things. In the end, I found a post about how neomutt doesn't work correctly with pinentry-tty, which is both a b-dep and r-dep for neomutt. The poster (they were using Mac OS had found that using pinentry-curses fixed his problem.
So, I found that using the standard .neomuttrc encryption lines, found at https://neomutt.org/test-doc/howto/encryption, along with installing pinentry-curses and creating a ~/.gnupg/gpg-agent.conf that reads
and restarting the agent with
made encryption with neomutt work for me. I haven't written the maintainer, as I've not seen mention
of the problem with FreeBSD, so suspect it's one of those Just Me(tm) problems, but figured I'd put it out here, in case other have problems.
So, I found that using the standard .neomuttrc encryption lines, found at https://neomutt.org/test-doc/howto/encryption, along with installing pinentry-curses and creating a ~/.gnupg/gpg-agent.conf that reads
Code:
pinentry-program /usr/local/bin/pinentry-curses
Code:
gpg-connect-agent reloadagent
of the problem with FreeBSD, so suspect it's one of those Just Me(tm) problems, but figured I'd put it out here, in case other have problems.
Last edited: