Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flush CachedDirectoryStoreProvider on X509Store changes #48149

Merged
merged 3 commits into from
Feb 12, 2021

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Feb 11, 2021

This is small change to skip cache refresh delay in cases when the directory is manipulated via X509Store Add or Remove function. It will flush all three cached stores. According to @bartonjs store manipulations are somewhat rare so I feel this would be ok. If we feel this is not ok, I can change it so we pass certificate store name and refresh only specific store.

fixes #48017
fixes #48091

@wfurt wfurt requested review from bartonjs, geoffkizer and a team February 11, 2021 04:02
@wfurt wfurt self-assigned this Feb 11, 2021
@ghost
Copy link

ghost commented Feb 11, 2021

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks
See info in area-owners.md if you want to be subscribed.

Issue Details

This is small change to skip cache refresh delay in cases when the directory is manipulated via X509Store Add or Remove function. It will flush all three cached stores. According to @bartonjs store manipulations are somewhat rare so I feel this would be ok. If we feel this is not ok, I can change it so we pass certificate store name and refresh only specific store.

fixes #48017
fixes #48091

Author: wfurt
Assignees: wfurt
Labels:

area-System.Security

Milestone: -

@wfurt wfurt merged commit 9db2d1d into dotnet:master Feb 12, 2021
@wfurt wfurt deleted the certRefresh_48017 branch February 12, 2021 04:38
@ghost ghost locked as resolved and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants