Skip to content

Add S/MIME decryption #6263

Closed
Closed
@BastianZim

Description

@BastianZim

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. :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions