S/MIME: Automatically import sender certificates
Open
Nobody has claimed this yet.
1. to develop
enhancement
feature:smime
skill:backend
skill:frontend
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Is your feature request related to a problem? Please describe.
Currently, it is cumbersome to import sender certificates due to two reasons:
- It is not really possible to extract the certificate from an incoming email.
- There is a separate modal in which I have to upload the certificate. So I need to download/extract the certificate, navigate to the modal, upload it again to import it.
Describe the solution you'd like
Certificats from emails with valid signatures should be imported automatically.
There are two possibilities here:
- Import them automatically when the email is synced (after the signature verification).
- Import them immediately when a user opens the composer to reply. The certificate needs to be imported in order to reply to an encrypted email. Hence, this is a nice opportunity to only import on-demand to prevent certificate spam.
Describe alternatives you've considered
No response
Additional context
Extracted from https://github.com/nextcloud/mail/issues/11569
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the email sync and signature-verification flow, then trace the composer path used to reply to encrypted messages. Resolve whether import occurs after sync or on reply, and consider the work done when certificates from valid signed emails are imported automatically and support encrypted replies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100