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

Support GeneralizedTime in certificates #1

Closed
jadamcrain opened this issue Jun 13, 2023 · 1 comment
Closed

Support GeneralizedTime in certificates #1

jadamcrain opened this issue Jun 13, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@jadamcrain
Copy link
Member

jadamcrain commented Jun 13, 2023

When parsing certificates that use GeneralizedTime, parsing fails with:

failed to establish TLS session with 89.151.113.237:21002: unexpected error: unable to parse cert with rasn: ASNError { variant: UnsupportedId(Identifier { class: Universal, pc: Primitive, tag: 24 }) }

The certificate in question uses GT in the validity:

validity Validity SEQUENCE (2 elem)
notBefore Time UTCTime 2023-05-22 00:00:00 UTC
notAfter Time GeneralizedTime 2116-06-09 00:00:00 UTC

@jadamcrain jadamcrain added bug Something isn't working enhancement New feature or request labels Jun 13, 2023
@jadamcrain jadamcrain changed the title Support GeneralizedTime Support GeneralizedTime in certificates Jun 13, 2023
@jadamcrain
Copy link
Member Author

Fixed in #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant