Skip to content

fix: cache validation of system keys#59202

Open
icewind1991 wants to merge 2 commits intomasterfrom
encp-cache-key-validation
Open

fix: cache validation of system keys#59202
icewind1991 wants to merge 2 commits intomasterfrom
encp-cache-key-validation

Conversation

@icewind1991
Copy link
Member

Validating the share and master key involves a minimum of reading 3 files from storage, something which can take a non-trivial amount of time with object store setups.

This adds some basic caching to prevent having to do the validation on every request.

@icewind1991 icewind1991 added this to the Nextcloud 34 milestone Mar 25, 2026
@icewind1991 icewind1991 requested a review from a team as a code owner March 25, 2026 19:04
@icewind1991 icewind1991 requested review from ArtificialOwl, come-nc, provokateurin and salmart-dev and removed request for a team March 25, 2026 19:04
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the encp-cache-key-validation branch from b3d4c14 to 1e2f273 Compare March 26, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants