Closed
Description
Feature request
It would be nice if cryptography
could be used to decrypt S/MIME encrypted emails.
This could be low-level right now, similar to https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/?highlight=s%2Fmime#cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder or something more high level later.
The respective OpenSSL command would be openssl smime -decrypt -in smime-ok.eml -recip myself.pem
But since there is currently no stable python tool to decrypt S/MIME (That I know of), anything is already very much appreciated. :)