-
Notifications
You must be signed in to change notification settings - Fork 495
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
Add the ability to configure the refresh hint of the local bundle #4297
Comments
3 tasks
Thank you @sorindumitru for opening this issue. |
Possible implementation:
|
@sorindumitru I'm assigning this to you, since you offered your help to implement this. Thank you! |
3 tasks
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spire-server refreshes the trust bundle for domains it federates with based on the
spiffe_refresh_hint
in the trust bundle, or in the absence of it based on the lifetime of the X509 CAs from it.This is what the specifications says that the refresh hint should be used for, but it
can miss updates if it follows that advice. For example:
spire-server should refersh as often as possible to learn about these unexpected changes to the trust bundle of a trust domain. Question is how often. Having this be once every couple of minutes is usually enough to minimise issues, but it also depends a bit on what the endpoint hosting the bundle can handle so maybe it makes sense to have this configurable.
Maybe this should go even further to deprecating the refresh hint in the specification since I think most implementation run into these kinds of issues where unscheduled updates of the trust bundle happen.
The text was updated successfully, but these errors were encountered: