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

Improve Date format in 'Parse X.509 certificate' #459

Merged
merged 3 commits into from Jan 1, 2019
Merged

Improve Date format in 'Parse X.509 certificate' #459

merged 3 commits into from Jan 1, 2019

Conversation

ghost
Copy link

@ghost ghost commented Dec 30, 2018

Fixes #420.

Reference RFC 5280 for interpreting century:

CAs ... MUST always encode certificate validity dates through the year 2049 as UTCTime
Certificate validity dates in 2050 or later MUST be encoded as GeneralizedTime

Edward Wall added 3 commits December 30, 2018 03:15
Future proofing for when certificates with dates after 2049 begin being issued.
These certificates' dates will be in Generalized Time not UTC Time as per RFC 5280
@n1474335 n1474335 added the bug label Jan 1, 2019
@n1474335 n1474335 merged commit 050ab03 into gchq:master Jan 1, 2019
@n1474335
Copy link
Member

n1474335 commented Jan 1, 2019

Thanks very much for sorting this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant