I sometimes get following error: * keychain 2.7.1 ~ http://www.funtoo.org * Found existing gpg-agent: 3323 * Adding 2 gpg key(s): AB012345 DF012345 /usr/bin/keychain: line 1519: 15340 Done echo 15341 Aborted | env LC_ALL="$pinentry_lc_all" gpg --no-options --use-agent --no-tty --sign --local-user "$k" -o- > /dev/null 2>&1 /usr/bin/keychain: line 1519: 15342 Done echo 15343 Aborted | env LC_ALL="$pinentry_lc_all" gpg --no-options --use-agent --no-tty --sign --local-user "$k" -o- > /dev/null 2>&1 * Error: Problem adding (is pinentry installed?); giving up I'm getting this error for maybe a week, now. But none of pinentry and gnupg was updated in this time. I have following version: app-crypt/pinentry-0.8.1 app-crypt/gnupg-2.0.17-r2 My .bashrc: keys=$(< ${HOME}/.keys) export PATH="$HOME/.local/bin:$PATH" export GPG_TTY=$(tty) if [[ $- != *i* ]] ; then eval `keychain --eval ${keys} --quiet --noask --quick` return fi . /etc/profile.d/bash-completion.sh eval `keychain --eval ${keys}` [[ $(tty) == /dev/tty[0-9] ]] && reset Reproducible: Sometimes
Later this has never happened. I think the bug can be closed.