nextcloud / nextcloud/fulltextsearch

search with encryption - master key disabled

Open
#631 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Hi,

I'm doing some testes with NC 21.0.1 and encryption with master key disabled.

If a file is uplodaded to a shared folder that is shared to an email address the file is indexed correctly, but if the folder is shared only to NC users/groups i have the error bellow.:
Exception: Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.
Message: Error while getting file content

Elasticsearch: 7.12.1
Ubuntu 20LTS
PHP8

This is a expected behaviour?

Thank you,
Wilson

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

Reproduce the report with Nextcloud 21.0.1, master key encryption disabled, an NC user or group share, and Elasticsearch 7.12.1 on Ubuntu 20.04 with PHP 8. Determine whether indexing the shared file is expected to succeed or whether the decryption error is intended; the issue provides no source files or tests to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, php, ubuntu
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.