-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
#11 auto renew certificates #73
#11 auto renew certificates #73
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for picking this up. This is pretty much exactly how I was planning to do it but haven't had time to get around to it.
One minor nit-pick - I think there is an extra doc comment line that was accidentally merged in. Otherwise, the code looks great.
Thoughts on unit testing this? Obviously, we don't want to run tests for days or months, but I'd like to add some tests to this before releasing it to nuget. Doesn't have to hold up this PR, but maybe in a second step we can find a way to mock a system clock.
Co-authored-by: Nate McMaster <nate.mcmaster@gmail.com>
we need clock as a dependency for testing |
b886c86
to
368703c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I just couldn't wait and I rebased my #11 renewal implementation, maybe somebody will find it useful. Anyway the @natemcmaster implementation mbican@f601519 seems smarter so ¯_(ツ)_/¯