Greetings all,
I have a problem with entering password asked for by mail/aerc. I am using sysutils/password-store, which invokes security/pinentry-curses bringing a window to the terminal, in which mail/aerc runs, to type a passphrase into. However, the terminal locks and does not allow to type in the passphrase.
As best as I understand it, security/pinentry-curses locks the terminal because gpg-agent
does not know which TTY to use for input, causing the ncurses interface to freeze waiting for a detached terminal.
To solve the problem, it is suggested to set and export GPG_TTY in the /bin/sh. I have set and exported it in
.shrc, and confirmed that it does work
Any help would be appreciated.
Kindest regards,
M
I have a problem with entering password asked for by mail/aerc. I am using sysutils/password-store, which invokes security/pinentry-curses bringing a window to the terminal, in which mail/aerc runs, to type a passphrase into. However, the terminal locks and does not allow to type in the passphrase.
As best as I understand it, security/pinentry-curses locks the terminal because gpg-agent
does not know which TTY to use for input, causing the ncurses interface to freeze waiting for a detached terminal.
To solve the problem, it is suggested to set and export GPG_TTY in the /bin/sh. I have set and exported it in
.shrc, and confirmed that it does work
echo $GPG_TTY returning /dev/pts/2, but it did not seem resolve the problem.Any help would be appreciated.
Kindest regards,
M