Skip to content

[smtp_batch] S/MIME signed e-mails #2668

@Lukas-Heindl

Description

@Lukas-Heindl

I'm currently investigating whether/how to sign e-mails generated by the smtp_batch output bot.

Currently there are two related variables gpg_key and gpg_pass and the docs specify GPG-signed e-mails are possible.

I see signing is done here:

.signature(self.gpg_key, self.gpg_pass)

And looking at the library used (envelope), I see the library supports also S/MIME. It also looks like the library uses the same function for S/MIME and GPG signatures.

So is it true, one can use the parameters available as of now, simply specify an PEM-encoded S/MIME private key instead of an GPG key and it just works?

Maybe @e3rd as dev/maintainer of the envelope library can help here best.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions