Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving a lot of encrypted files makes them unaccessible #1168

Closed
yahesh opened this issue Mar 27, 2019 · 3 comments
Closed

Moving a lot of encrypted files makes them unaccessible #1168

yahesh opened this issue Mar 27, 2019 · 3 comments

Comments

@yahesh
Copy link
Member

yahesh commented Mar 27, 2019

Expected behaviour

When moving a large amount of server-side encrypted files from one shared folder to another shared folder all those files should be accessible afterwards.

Actual behaviour

When moving a large amount of server-side encrypted files from one shared folder to another shared folder it happened that files got broken with Bad Signature error messages popping up in the nextcloud.log file.

Steps to reproduce

  1. Move a bigger folder (e.g. 700mb) from one server-side encrypted shared folder to another server-side encrypted shared folder on your Mac.
  2. Wait for the sync client to start the syncing process.
  3. Try to access the moved files as another user after the sync has been completed.

Client configuration

Client version: Mac Sync Client Version 2.5.1final (build 20181204).

Operating system: macOS 10.13.6 (17G5019)

OS language: German

Installation path of client: /Applications/nextcloud.app

Server configuration

Operating system: Ubuntu 16.04 LTS

Web server: Apache/2.4.38 (Ubuntu)

Database: MySQL Ver 14.14 Distrib 5.6.43-84.3, for debian-linux-gnu (x86_64) using 6.3

PHP version: PHP 7.2.16-1+ubuntu16.04.1+deb.sury.org+1

Nextcloud version: 15.0.5

Storage backend (external storage): NFS

@yahesh yahesh changed the title Moving a lot of encrypted makes them unaccessible Moving a lot of encrypted files makes them unaccessible Mar 28, 2019
@yahesh
Copy link
Member Author

yahesh commented Jul 1, 2019

Is there any update on this? This still breaks files.

@yahesh
Copy link
Member Author

yahesh commented Jul 16, 2019

This seems to be related to: nextcloud/server#16419

@yahesh
Copy link
Member Author

yahesh commented Jul 16, 2019

As we've seen, Nextcloud 16.0.3 introduced the configuration value encryption_skip_signature_check which - when activated - allows the Nextcloud web GUI to access the files again. However, downloading or syncing the broken files still does not work.

We tested this on a test installation with 2000 identical pictures. One part of the problem seems to be that the files have to be moved from/to/between shared folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant