[imp] S/MIME verification error
Michael M Slusarz
slusarz at horde.org
Wed Jan 22 21:46:24 UTC 2014
Quoting Sören Mindorf <soeren at 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 at bigworm % openssl version
OpenSSL 1.0.1f 6 Jan 2014
slusarz at 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 [slusarz at horde.org]
More information about the imp
mailing list