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

X509 asn1 refactor #4011

Merged
merged 14 commits into from
May 24, 2023
Merged

X509 asn1 refactor #4011

merged 14 commits into from
May 24, 2023

Conversation

jmayclin
Copy link
Contributor

Resolved issues:

#3948

Description of changes:

Refactor x509 OCSP functionality to use ASN1 time comparison instead of our custom ASN1 parser. This removes the final place in S2N where a future date needs to be represented by a time_t. This PR will bring 32 bit support up to

s2n-tls supports 32 bit platforms, with the following exception: the current system time must not be a date past 2038.

Call-outs:

The ASN1 time diff is rather hairy, which is why I previously added more tests: #3970

Testing:

Additional unit tests were added in #3970 to give more coverage, so all CI passing should be sufficient.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label May 17, 2023
jmayclin added 3 commits May 17, 2023 00:52
the rust bindings generation complains that the expansion of the macro
results in an integer overflow
@jmayclin jmayclin requested review from goatgoose and maddeleine May 18, 2023 05:25
@jmayclin jmayclin marked this pull request as ready for review May 18, 2023 05:25
@jmayclin jmayclin requested a review from dougch as a code owner May 18, 2023 05:25
@jmayclin jmayclin requested a review from goatgoose May 22, 2023 23:07
@jmayclin jmayclin enabled auto-merge (squash) May 22, 2023 23:08
jmayclin added 2 commits May 23, 2023 01:54
Add RFC quote for thisUpdate and nextUpdate fields, and add additional
clarification about the maximum timestamp thing.
@jmayclin jmayclin merged commit 6f70554 into aws:main May 24, 2023
dougch pushed a commit to dougch/s2n-tls that referenced this pull request May 31, 2023
@jmayclin jmayclin deleted the x509-asn1-refactor branch December 22, 2023 02:03
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.

4 participants