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

Primary storage - object store and encryption #22058

Closed
MorrisJobke opened this issue Feb 1, 2016 · 20 comments
Closed

Primary storage - object store and encryption #22058

MorrisJobke opened this issue Feb 1, 2016 · 20 comments
Assignees
Labels
blue-ticket bug-analysis discussion documentation p2-high Escalation, on top of current planning, release blocker sev3-medium
Milestone

Comments

@MorrisJobke
Copy link
Contributor

MorrisJobke commented Feb 1, 2016

Is the config.sample.php still up to date with the encryption 2.0:

WARNING: The current implementation is incompatible with any app that uses direct file IO and circumvents our virtual filesystem. That includes Encryption and Gallery. Gallery will store thumbnails directly in the filesystem and encryption will cause severe overhead because key files need to be fetched in addition to any requested file.

* WARNING: The current implementation is incompatible with any app that uses
* direct file IO and circumvents our virtual filesystem. That includes
* Encryption and Gallery. Gallery will store thumbnails directly in the
* filesystem and encryption will cause severe overhead because key files need
* to be fetched in addition to any requested file.

And does the encryption stream the content or is it downloaded to the owncloud server, then decrypted and then send out to the client? This would then also effect external storage.

cc @butonic @schiesbn @icewind1991

00004489

@PVince81
Copy link
Contributor

PVince81 commented Feb 2, 2016

From what I remember, the encryption code has been improved to always go through the View, which somewhat implies that it doesn't access the file system directly. This also happens when handling keys.

So I'd expect that this should now work with encryption.

@schiesbn can you confirm ?

@butonic
Copy link
Member

butonic commented Feb 2, 2016

The warning was added because at the time it was not possible to put the keys into a different folder than the rest of the files. Technically, encryption is working with objectstorage, but it would introduce a painful latency on any file access. Now that we can place keys on the local device the situation might have changed. I guess QA needs to reevaluate.

@PVince81
Copy link
Contributor

@owncloud/qa

@settermjd
Copy link
Contributor

Does this require a documentation update?

@PVince81 PVince81 added this to the 10.0 milestone Jan 25, 2017
@PVince81
Copy link
Contributor

Depends whether QA can confirm if object store indeed works fine with encryption (ideally with automated tests)

@PVince81
Copy link
Contributor

Assigning to @SergioBertolinSG to figure out how to automatically test.

Easiest would be to add it to the integration test matrix which now also covers encryption.
Better would be if we could first have integration tests running against dockers, where the docker itself provides that config.

@SergioBertolinSG
Copy link
Contributor

@PVince81, Docker is essential for this one, we need somewhere to connect. ref: https://github.com/owncloud/qa-enterprise/issues/55

@felixboehm
Copy link
Contributor

@SergioBertolinSG What is the blocker to test this?
Is it a blocker for automated tests only?

@felixboehm felixboehm added bug-analysis p2-high Escalation, on top of current planning, release blocker sev3-medium labels May 5, 2017
@SergioBertolinSG
Copy link
Contributor

SergioBertolinSG commented May 5, 2017

No blocker at all, automated tests for objectstore are already set up in its repository.

@felixboehm
Copy link
Contributor

Any result? #22058 (comment)

@SergioBertolinSG
Copy link
Contributor

SergioBertolinSG commented May 8, 2017

After checking it, objectstore tests are not setup in travis to run using encryption. Currently I'm seeing some issues while running tests locally even without encryption, not sure if there are bugs or my environment is not working fine. I'll have to dedicate some time to figure out what is happening.

Last tests passed of objectstore: https://travis-ci.com/owncloud/objectstore/jobs/67402255

@felixboehm
Copy link
Contributor

Did you also test ownCloud 10 with objectstorage and encryption?

@SergioBertolinSG
Copy link
Contributor

Not myself, not sure if anyone did.

@PVince81 PVince81 modified the milestones: 10.0.1, 10.0 May 15, 2017
@PVince81 PVince81 modified the milestones: 10.0.3, 10.0.1 May 26, 2017
@PVince81
Copy link
Contributor

PVince81 commented Aug 7, 2017

@felixboehm would move to planned.

@SergioBertolinSG have we gotten further with the object store tests since last time ?

@PVince81
Copy link
Contributor

moving to "planned"

@PVince81 PVince81 added this to the planned milestone Aug 10, 2017
@PVince81 PVince81 removed this from the development milestone Aug 10, 2017
@PVince81 PVince81 modified the milestones: development, planned Nov 6, 2017
@PVince81 PVince81 modified the milestones: planned, development Nov 22, 2017
@PVince81 PVince81 modified the milestones: development, planned Jan 12, 2018
@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@PVince81
Copy link
Contributor

PVince81 commented Mar 2, 2018

need to retest and verify and adjust the docs accordingly

@SergioBertolinSG
Copy link
Contributor

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blue-ticket bug-analysis discussion documentation p2-high Escalation, on top of current planning, release blocker sev3-medium
Projects
None yet
Development

No branches or pull requests

7 participants