Skip to content

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

Merged
n1474335 merged 3 commits intomasterfrom
unknown repository
Jan 1, 2019
Merged

Improve Date format in 'Parse X.509 certificate'#459
n1474335 merged 3 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@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
Copy Markdown
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