Skip to content

fix: don't try to load keys for empty path for groupfolder versions - #64992

Open
icewind1991 wants to merge 1 commit into
masterfrom
encryption-gf-version-keyfile-path
Open

icewind1991 wants to merge 1 commit into
masterfrom
encryption-gf-version-keyfile-path

Conversation

@icewind1991

@icewind1991 icewind1991 commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Groupfolder versions don't follow the naming schema that the logic relies on to get the original file.

Not going to pretend that I understand why it's getting the path of the original file though, but this seems to work, and without it it's fully broken 🙈

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 36 milestone Oct 1, 2026
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Oct 1, 2026
@icewind1991
icewind1991 requested a review from a team as a code owner October 1, 2026 15:59
@icewind1991
icewind1991 requested review from Altahrim, CarlSchwan, leftybournes and salmart-dev and removed request for a team October 1, 2026 15:59
@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable35

@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable34

@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable33

@icewind1991

Copy link
Copy Markdown
Member Author

Also needs nextcloud/groupfolders#5130 to have working encryption+versioning+groupfolders

@joshtrichards joshtrichards 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.

Pragmatic for the time being I suppose...

Needs coverage or we'll regret it... ;-)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants