Skip to content

fix(encryption): Fix user key support with basic auth - #56167

Merged
come-nc merged 1 commit into
masterfrom
fix/fix-encryption-with-user-keys
Nov 13, 2025
Merged

fix(encryption): Fix user key support with basic auth#56167
come-nc merged 1 commit into
masterfrom
fix/fix-encryption-with-user-keys

Conversation

@come-nc

Copy link
Copy Markdown
Contributor

Summary

When using basic authentication the user is not logged in yet when KeyManager constructor gets called, so we need to delay the check for the loggedin user uid.

Checklist

@come-nccome-nc added this to the Nextcloud 33 milestone Nov 3, 2025
@come-nccome-nc self-assigned this Nov 3, 2025
@come-nc
come-nc requested a review from a team as a code ownerNovember 3, 2025 16:41
@come-nccome-nc added the 3. to review Waiting for reviews label Nov 3, 2025
@come-nc
come-nc requested review from ArtificialOwl, icewind1991, leftybournes and salmart-dev and removed request for a teamNovember 3, 2025 16:41
@come-nc

Copy link
Copy Markdown
ContributorAuthor

/backport to stable32

When using basic authentication the user is not logged in yet when
KeyManager constructor gets called, so we need to delay the check for
the loggedin user uid.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
come-ncforce-pushed the fix/fix-encryption-with-user-keys branch from f1c87bd to 928a45cCompareNovember 10, 2025 17:11
@come-nc
come-nc merged commit 71688e3 into masterNov 13, 2025
256 of 273 checks passed
@come-nc
come-nc deleted the fix/fix-encryption-with-user-keys branch November 13, 2025 10:52
@nextcloud-botnextcloud-bot mentioned this pull request Jan 6, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Regression in User-Based Server-Side Encryption Breaks WebDAV Clients

3 participants

@come-nc@blizzz@miaulalala