-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Wishlist] Remove all date
code
#916
Comments
First stage: Group ALL Translation of CA database dates for reports is still viable. |
Fixed dates can be reworked to use the same method as |
After merging #918 there is only one reason for Easy-RSA to manipulate dates:
This can be done without the use of So ... this is a good time to integrate new code, without use of |
#922 final result is as follows:
All of these changes ONLY effect status reports. |
Closed via e8ad9fb |
This includes:
--fix-offset
.EasyRSA should not dabble in
date
related code.Background information:
The reason for ALL date related code was as a prerequisite of the original version of
renew
. #286This prerequisite was to arbitrate an acceptable period, within which a certificate was a viable candidate for renewal. The default chosen was 30 days before expiry. (At that time, an existing certificate had been signed for 10 years..)
This prerequisite introduced the HARD requirement for EasyRSA to calculate dates in various shells.
This arbitrary prerequisite has subsequently been discarded.
The current version of
renew
does not require that a certificate be within any period of expiry, before it can be renewed. A certificate can be renewed immediately, if desired.There is no longer any reason for EasyRSA to attempt to use
date
.Size-wise -- Current: 151kB, expected: 120kB (~10kB)
The text was updated successfully, but these errors were encountered: