-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Transfer ownership must work with master key #27427
Comments
@sharidas please take care of this, thanks |
Sure |
While the merged PRs seem to work, there is a risk that it will not always work correctly in case the storage wrappers are setup differently. The problem is here: https://github.com/owncloud/core/pull/28107/files#diff-938b56891f3079e628cfda1c331911b7R366 This adds an argument to So far we are lucky that it works fine for transfer ownership but could break with third party apps. I'm moving this ticket to "planned" now to look into other ways to pass around that value. This is quite tricky with the current architecture without resorting to globals... |
@sharidas please link to the PRs where you cleant up the tech debt mentioned above, then close. |
The PR which addresses issue referred #27427 (comment) is here #28774 . This is another PR which got addressed #28820 and merged. |
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. |
Transfer ownership should be possible because it doesn't require any user's specific password.
Currently it doesn't:
Steps:
cd tests/integration
sudo -u wwwrun OC_TEST_ENCRYPTION_MASTER_KEY_ENABLED=1 ./run.sh features/transfer-ownership.feature
Expected:
All tests passing.
Actual:
Transfer ownership refuses to work because it detects encryption.
isReadyForUser
to return true if master key is usedMaybe add a method to the encryption modules to let them tell whether moving files between users can be done without their passwords ?
@pmaier1 will become more important when we start fading out the default encryption
The text was updated successfully, but these errors were encountered: