Skip to content

fix(encryption): cap and invalidate key-cache - #64186

Open
susnux wants to merge 1 commit into
masterfrom
fix/encryption-cap-and-clear
Open

fix(encryption): cap and invalidate key-cache#64186
susnux wants to merge 1 commit into
masterfrom
fix/encryption-cap-and-clear

Conversation

@susnux

@susnux susnux commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

For large operations the cache infinitly grows and invalid entries were never invalidated.
So memory cap the cache and remove outdated entries.

Checklist

AI (if applicable)

Unit tests generated by AI

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

For large operations the cache infinitly grows and invalid entries were
never invalidated.
So memory cap the cache and remove outdated entries.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux requested a review from a team as a code owner September 10, 2026 13:39
@susnux
susnux requested review from CarlSchwan, come-nc, icewind1991 and leftybournes and removed request for a team September 10, 2026 13:39
@susnux susnux added this to the Nextcloud 36 milestone Sep 10, 2026
@susnux
susnux requested a review from GhassenKefi September 10, 2026 13:40
@susnux

susnux commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable35

@susnux

susnux commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@susnux

susnux commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable33

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