Here is pinentry-tty version for dumb terminals: https://github.com/serge-v/pinentry/tree/tty Deploy to /usr/local/bin: git clone https://github.com/serge-v/pinentry.git git checkout tty ./autogen.sh ./configure --enable-pinentry-tty make make install Regards, Serge