django / django/new-features

Support S/MIME email signing

Open
#201 3 comments 3 reactions 0 assignees View on GitHub
Email Third Party Package
Dominant language
No language data
Stars
188
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [x] I agree to follow Django's Code of Conduct

### Feature Description

I would like to see a new parameter in settings.py
`SIGNING_EMAIL_CERTIFICATE = /path/to/certificate.p12`
This will allow emails that are being sent by the app to be signed, if the sender email matches the email contained in the certificate.

### Problem

This feature will allow the users that are receiving the email to confirm that the email comes from the app which also increase trust in the app.

### Request or proposal

proposal

### Additional Details

_No response_

### Implementation Suggestions

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with settings.py and Django's email-sending path, then research how S/MIME signing should consume a .p12 certificate and match the sender address. The work is done when the proposed setting produces signed emails only for matching senders, with the behavior and coverage agreed for the feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.