On Wed, Jul 09, 2014, Harakiri wrote: > Im getting the following error with OpenSSL 1.0.1e 11 Feb 2013 during openssl > smime -decrypt -in .... > > 140050001958568:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong > tag:tasn_dec.c:1319: > 140050001958568:error:0D08303A:asn1 encoding > routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 > error:tasn_dec.c:659:Field=recipientinfo, Type=PKCS7_ENVELOPE > 140050001958568:error:0D08303A:asn1 encoding > routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:751: > 140050001958568:error:0D08403A:asn1 encoding > routines:ASN1_TEMPLATE_EX_D2I:nested asn1 > error:tasn_dec.c:579:Field=d.enveloped, Type=PKCS7 > 140050001958568:error:0D0D106E:asn1 encoding routines:B64_READ_ASN1:decode > error:asn_mime.c:193: > 140050001958568:error:0D0D40CB:asn1 encoding routines:SMIME_read_ASN1:asn1 > parse error:asn_mime.c:528: > > asn1parse did not show any errors. The recipientinfo field seems to be OK - > is the certificate included in the recipient field maybe incorrectly decoded? > > How can i debug this further? >
Do you just get that on 1.0.1e or previous versions too? Also try the cms command instead of smime. If that doesn't help please post a sample messge that produces that message. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org