Page MenuHome GnuPG

gpgsm confuses cert with issuer cert
Closed, ResolvedPublic

Description

This is weird. GPGSM seems to confuse a cert with an issuer cert.

The following two certificates have been created with openssl and the demo
snakeoil CA. Both certificates seem to be valid. But when importing the
floppy-bad.crt *before* importing the issuer certificate, all future
gpgsm_basic_cert_check() operations on certificates signed by this CA fail,
because GPGSM uses the floppy-bad.crt public key to verify the signature,
instead of the issuer public key (even if the issuer public key is imported, as
long as it is imported after floppy-bad.crt).

Details

Version
SVN 2006-11-07

Event Timeline

marcus set Version to SVN 2006-11-07.
marcus added subscribers: marcus, werner.

The problem is due to an incosnsistent CA. Running with --debug 1 will give
more clues on this. Solved by direct discussion, thus closing.