-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cannot upload to local storage with user-key encryption #181
Comments
This was referenced Feb 20, 2020
Merged
Also see #270 (comment) The ownCloud log has errors like: https://drone.owncloud.com/owncloud/encryption/1869/50/13
|
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
localstorage
and makes it available to just usertestuser
testuser
tries to upload some file directly tolocalstorage/file.txt
It should work, but an exception happens like https://drone.owncloud.com/owncloud/encryption/1128/89/8
This was found when running core CLI acceptance tests with user-key encryption on:
https://drone.owncloud.com/owncloud/encryption/1128/89/11
The same scenario works with master-key encryption. Probably life is easier in that case, and the local storage is either all encrypted, or all not encrypted, regardless of the particular user access granted.
And a similar scenario works with user-key encryption when the user is a member of a group and the group has access to the local storage. Maybe in that case the files in the local storage do not get encrypted (so that any user in he group can access them)
I guess that the code is trying to encrypt the file upload because it is going into a place that only has access for that user, but things get confused!
The text was updated successfully, but these errors were encountered: