Skip to content

feat(transfer-ownership): Correctly react to encrypted files - #47519

Merged
sorbaugh merged 2 commits into
masterfrom
fix/transfer-ownership-encrypted-files
Sep 5, 2024
Merged

feat(transfer-ownership): Correctly react to encrypted files#47519
sorbaugh merged 2 commits into
masterfrom
fix/transfer-ownership-encrypted-files

Conversation

@come-nc

@come-nccome-nc commented Aug 27, 2024

Copy link
Copy Markdown
Contributor
  • Resolves: #

Summary

  1. For E2EE encrypted files, we abort the transfer.
  2. For SSE encrypted files, we abort only if not using master key.
  3. Also fixed the check for when the path to a single file is used.

Checklist

@come-nccome-nc added bug 3. to review Waiting for reviews labels Aug 27, 2024
@come-nccome-nc added this to the Nextcloud 31 milestone Aug 27, 2024
@come-nccome-nc self-assigned this Aug 27, 2024
@come-nc

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

@come-nc

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

@come-nc

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

@come-nc
come-nc requested review from a team, artonge, skjnldsv and yemkareems and removed request for a teamAugust 27, 2024 11:07

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not my area of expertise but the changes make sense and look good

Comment threadapps/files/lib/Service/OwnershipTransferService.php Outdated
@come-nc
come-nc requested a review from artongeSeptember 3, 2024 07:47
For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@come-nc@ChristophWurst@artonge@sorbaugh