[PYTHON-CRYPTO] m2crypto-0.13 problem

Robert Penz robert.penz at OUTERTECH.COM
Wed Nov 17 11:47:48 CET 2004


Hi!

I've following problem with m2crypto-0.13.

p7, data =
SMIME.smime_load_pkcs7_bio(BIO.MemoryBuffer(open("../daten/testmail.eml",
"rb").read()))

returns

File "/usr/lib/python2.3/site-packages/M2Crypto/SMIME.py", line 93, in
smime_load_pkcs7_bio
 p7_ptr, bio_ptr = m2.smime_read_pkcs7(p7_bio._ptr())
SystemError: error return without exception set

but

p7, data = SMIME.smime_load_pkcs7("../daten/testmail.eml")

works.

--
Regards,
Robert
 ----------
Robert Penz
robert dot penz at outertech dot com




More information about the python-crypto mailing list