Hello Michael,
thanks for your reply and your help.
I'll check why it is in php-smime wrong but in my E-Mail client
(thunderbird) trusted and ok.
Regards,
Soeren
----- Message from Michael M Slusarz <slus...@horde.org> ---------
Date: Wed, 22 Jan 2014 14:46:24 -0700
From: Michael M Slusarz <slus...@horde.org>
Subject: Re: [imp] S/MIME verification error
To: imp@lists.horde.org
Quoting Sören Mindorf <soe...@mindorf-it.de>:
Hello Michael,
I'm not sure what you mean.
I can't see more, sorry.
[Soren sent me the message off-list].
AFAICT, the S/MIME message is broken. At least parsing it with the
current version of openssl on my system (which should be the same
version used internally by PHP):
slusarz@bigworm % openssl version
OpenSSL 1.0.1f 6 Jan 2014
slusarz@bigworm % openssl smime -verify < /tmp/smime.test
Error reading S/MIME message
140347045721744:error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1319:
140347045721744:error:0D07803A:asn1 encoding
routines:ASN1_ITEM_EX_D2I:nested asn1
error:tasn_dec.c:381:Type=PKCS7_ISSUER_AND_SERIAL
140347045721744:error:0D08303A:asn1 encoding
routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1
error:tasn_dec.c:751:Field=issuer_and_serial, Type=PKCS7_SIGNER_INFO
140347045721744:error:0D08303A:asn1 encoding
routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1
error:tasn_dec.c:711:Field=signer_info, Type=PKCS7_SIGNED
140347045721744:error:0D08303A:asn1 encoding
routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:751:
140347045721744:error:0D08403A:asn1 encoding
routines:ASN1_TEMPLATE_EX_D2I:nested asn1
error:tasn_dec.c:579:Field=d.sign, Type=PKCS7
140347045721744:error:0D0D106E:asn1 encoding
routines:B64_READ_ASN1:decode error:asn_mime.c:193:
140347045721744:error:0D0D40CC:asn1 encoding
routines:SMIME_read_ASN1:asn1 sig parse error:asn_mime.c:502:
We are 100% reliant on PHP/OpenSSL for S/MIME parsing, so there's
not much more we can do from a Horde standpoint. I recommend filing
a bug report with the program that created that message.
michael
___________________________________
Michael Slusarz [slus...@horde.org]
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org
----- End message from Michael M Slusarz <slus...@horde.org> -----
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org