nextcloud / nextcloud/mail

Per-user encryption: Encrypt imap/smtp password with individual user key

Open
#1,331 4 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement security
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Feature Request

I'd like the Nextcloud mail app to encrypt the stored imap/smtp password with the user's individual key when server-side per-user encryption is enabled. (disabled master key)

To my knowledge the user key never changes, even when the password changes, making this a viable solution.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

The issue does not name files, tests, or entry points. Start by locating the existing IMAP/SMTP credential storage and the server-side per-user encryption integration, then determine how credentials are accessed when the master key is disabled. Done means stored IMAP/SMTP passwords use the individual user key under that configuration without breaking password changes or mail access.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.