nextcloud / nextcloud/mail

[Suggestion] Other way to store password

Open
#4,277 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Reason:
AD passwords are stored in the database encrypted by Nextcloud secret. This is very insecure because if your service is compromised then our AD passwords will also be exposed.

Alternative/Example:
Wildduck Webmail uses Authelia/HAproxy to authenticate users from AD and supplies authenticated users' usernames via HTTP Remote-User header to Wildduck API. Webmail and API talk to each other by shared secrets. Therefore, users are provisioned into Wildduck backend without passwords.

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 names no files, tests, or entry points. Start by tracing how AD passwords are currently stored and used, then compare the proposed remote-user/header and shared-secret flow; completion would require an agreed implementation scope and acceptance criteria for passwordless provisioning.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.