[PYTHON-CRYPTO] signed SMIME verification

Ludovico Magnocavallo ludo at ASIATICA.ORG
Wed Jun 2 02:23:35 CEST 2004

I've been working a bit on SMIME with M2Crypto recently, and I noticed
there's no recipe in the M2Crypto docs on how to verify a signed mail
without knowing the signer's certificate.

Openssl's "smime verify" command is able to do that, and the same thing
can be accomplished with M2Crypto. I've wrapped up my findings in a
simple class which can be found at


Please let me know if there are errors/inconsistencies or better ways of
doing this.


More information about the python-crypto mailing list