nextcloud / nextcloud/mail

S/MIME: Automatically import sender certificates

Open
#11,592 3 comments 1 reaction 0 assignees View on GitHub

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:

  1. It is not really possible to extract the certificate from an incoming email.
  2. 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:

  1. Import them automatically when the email is synced (after the signature verification).
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.