Page MenuHome GnuPG

gpg-agent sends debug output on assuan status fd
Closed, ResolvedPublic

Description

If no trustlist.txt file is found, gpg-agent sends debug output to the assuan
status fd ("gpg-agent[5290]: error reading list of trusted root
certificates\ngpg-agent[5290]: command is_trusted failed: No such file or
directory\nERR 67141713 No such file or directory <GPG Agent>\n"

This causes gpgsm to be confused in assuan_transact and issue a
GPG_ERR_ASS_INV_RESPONSE error.

Three bugs here: (1) gpg-agent should not send debug output to assuan fd. (2)
gpg-agent should fail gracefully if trustlist.txt is not available and assume
"not-trusted" (argueably; otherwise gpgsm should install empty trustlist file).

Details

Version
SVN 2006-11-07

Event Timeline

marcus set Version to SVN 2006-11-07.
marcus added a subscriber: marcus.
werner added a subscriber: werner.

Fixed in 2.0.0.

There was some very old code in place which simply closed the standard
descriptors instead of duping them to /dev/null.