Skip to content

Add support for parsing ASN.1 GeneralizedTime in X509 Certificates - #267

Merged
fdesbiens merged 9 commits into
eclipse-threadx:devfrom
sjscymru:support-asn1-generalized-time
May 28, 2026
Merged

Add support for parsing ASN.1 GeneralizedTime in X509 Certificates#267
fdesbiens merged 9 commits into
eclipse-threadx:devfrom
sjscymru:support-asn1-generalized-time

Conversation

@sjscymru

@sjscymru sjscymru commented Apr 4, 2024

Copy link
Copy Markdown
Contributor

These changes implement support for parsing of ASN.1 GeneralizedTime strings contained in X509 certificates.

Support has also been added to allow the notBefore and notAfter time formats to be different. The current released version of NetX Secure assumed that both time formats would be the same.

@sjscymru

sjscymru commented Apr 4, 2024

Copy link
Copy Markdown
Contributor Author

Need to update tests

@sjscymru sjscymru closed this Apr 4, 2024
@sjscymru sjscymru reopened this Apr 4, 2024
@fdesbiens
fdesbiens changed the base branch from master to dev February 25, 2025 20:14
@fdesbiens
fdesbiens requested a review from a team February 25, 2025 20:15
@sjscymru
sjscymru force-pushed the support-asn1-generalized-time branch from 99ac1a0 to 3c349b7 Compare March 24, 2025 09:50
@fdesbiens

Copy link
Copy Markdown
Contributor

@eclipse-threadx/iot-threadx-committers: please review.

@fdesbiens fdesbiens moved this to In review in ThreadX Roadmap Feb 6, 2026
@fdesbiens
fdesbiens requested review from yuxinzhou5 and removed request for a team February 6, 2026 14:55
Resolve the X.509 GeneralizedTime conflict, remove the unused fractional variable, and add bounds checks for ASN.1 time parsing.
@fdesbiens

Copy link
Copy Markdown
Contributor

@sjscymru Our apologies for the long turnaround on this PR. I fixed some issues with the implementation. I am ready to merge this into the dev branch, and the code should ship with our June 2026 release.

Your feedback is welcome.

@fdesbiens
fdesbiens merged commit f323484 into eclipse-threadx:dev May 28, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In review to Done in ThreadX Roadmap May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants