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

RA: make authzExpiryCutoff proportional to authz lifetime #7994

Closed
aarongable opened this issue Feb 4, 2025 · 0 comments · Fixed by #8000
Closed

RA: make authzExpiryCutoff proportional to authz lifetime #7994

aarongable opened this issue Feb 4, 2025 · 0 comments · Fixed by #8000
Assignees

Comments

@aarongable
Copy link
Contributor

Today, we only reuse authzs that have at least 1 day left before they expire:

boulder/ra/ra.go

Line 2368 in eda4966

authzExpiryCutoff := ra.clk.Now().AddDate(0, 0, 1)

That will prevent all reuse of authzs that have a lifetime of less than a day, e.g. those for short-lived certs. To allow reuse of authzs that have (e.g.) 6 hours left out of their 7-hour total lifetime, we should make this cutoff proportional to their lifetime.

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 a pull request may close this issue.

1 participant