Page MenuHome GnuPG

gpgsm --server does not honor config file => include_certs cannot be set in kmail
Closed, ResolvedPublic

Description

Environment

Debian GNU/Linux Testing, i386, gnupg 1.9.20

Description

Gpgsm does not use values from config file when invoked in server mode (gpgsm --server). This imply e.g. that include_certs is left at the default value when sending mail from kmail (tested on version 1.8.3). Hence it is not possible to include the whole chain of certificates, only the sender certificate is attached.

How To Repeat

Run the following:

gpgsm --server 47<message 48>signature <<EOF
INPUT FD=47
OUTPUT FD=48
SIGN --detached
EOF

Regardless of setup in gpgsm.conf, in log file is written that
DBG: adding certificates at level 1
and no intermediate certificates are included in the created signature.

Fix

I am sending a small patch that fixes this problem. However, I am not sure whether it does not cause some other problems.

Related Objects