nextcloud / nextcloud/server

Encrypt appdata when using server side encryption with master key

Open
#9,368 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: apps management feature: encryption (server-side)
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

With https://github.com/nextcloud/server/pull/2415 I disabled encryption for the appdata. Because if you are using user keys then you don't want to encrypt this data that is probably shared. However now that we have switched to the master key by default (right?) it makes sense to also encrypt the appdata folder if that is the case.

@schiessle assigning you since you know the encryption code best

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 encryption behavior changed by nextcloud/server#2415 and trace how the master-key and user-key modes handle the appdata folder. Determine where the master-key condition is decided, then verify that appdata is encrypted with a master key but remains unencrypted with user keys. Check the relevant encryption tests or add coverage for both modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.