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

Make authz reuse expiry cutoff proportional to authz lifetime #8000

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

aarongable
Copy link
Contributor

@aarongable aarongable commented Feb 8, 2025

Continue to use a 24-hour cutoff for authzs with "long" lifetimes, so that our behavior is unchanged for authzs created with no profile specified. Use a 1-hour cutoff for authzs with "short" (less than 24-hour) lifetimes, so that we can reuse authzs created with modern profiles. Use linear interpolation between those values.

Fixes #7994

(cherry picked from commit 640c949572424f88b02f4d5ecaad2488bc0086a2)
@aarongable aarongable requested a review from a team as a code owner February 8, 2025 02:20
Copy link
Member

@beautifulentropy beautifulentropy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented in support of your suggestion, with a slight tweak.

@aarongable aarongable merged commit 0efb2a0 into main Feb 11, 2025
12 checks passed
@aarongable aarongable deleted the authz-expiry-cutoff branch February 11, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RA: make authzExpiryCutoff proportional to authz lifetime
3 participants