Skip to content

fix(encryption): Do not register user key related event listeners - #53514

Merged
susnux merged 1 commit into
masterfrom
fix/do-not-update-userkey-when-masterkey-is-used
Jun 16, 2025
Merged

fix(encryption): Do not register user key related event listeners#53514
susnux merged 1 commit into
masterfrom
fix/do-not-update-userkey-when-masterkey-is-used

Conversation

@come-nc

Copy link
Copy Markdown
Contributor

Summary

Do not register user key related event listeners when master key is enabled.
Also added a safeguard in PassphraseService.

Checklist

@come-nccome-nc added this to the Nextcloud 32 milestone Jun 16, 2025
@come-nccome-nc self-assigned this Jun 16, 2025
@come-nc
come-nc requested a review from a team as a code ownerJune 16, 2025 13:45
@come-nc
come-nc requested review from ArtificialOwl, leftybournes and yemkareems and removed request for a teamJune 16, 2025 13:45
@come-nccome-nc added the 3. to review Waiting for reviews label Jun 16, 2025
@come-nc
come-nc requested review from a team and susnuxJune 16, 2025 13:45
@come-nc

Copy link
Copy Markdown
ContributorAuthor

/backport to stable31

Comment threadapps/encryption/lib/AppInfo/Application.php Outdated
 when master key is enabled.
Also added a safeguard in PassphraseService.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
come-ncforce-pushed the fix/do-not-update-userkey-when-masterkey-is-used branch from 6bdf4dc to f6365e7CompareJune 16, 2025 13:52
@susnux
susnux merged commit 5c80563 into masterJun 16, 2025
@susnux
susnux deleted the fix/do-not-update-userkey-when-masterkey-is-used branch June 16, 2025 15:55
@skjnldsvskjnldsv mentioned this pull request Aug 19, 2025
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]: Password change by admin not working with encryption: Can not decrypt the recovery key. Maybe you provided the wrong password. Try again.

4 participants

@come-nc@susnux@yemkareems@skjnldsv