-
Notifications
You must be signed in to change notification settings - Fork 419
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
Compatibility for OpenSSL >= 1.0.1i #193
Conversation
2 similar comments
1 similar comment
1 similar comment
Looks like TravisCI isn't accepting new requests for OS X test builds. I'm not sure how to get this tested as there's no Ubuntu OpenSSL 1.0.2 package either. |
2 similar comments
1 similar comment
3 similar comments
Final error arises from |
1 similar comment
@exarkun It's not clear to me why the |
2 similar comments
@mrjefftang could we get you to rebase this now? Thanks for your work so far! |
3 similar comments
@reaperhulk Done. |
notAfter = _lib.X509_get_notAfter(self._x509) | ||
return _lib.ASN1_UTCTIME_cmp_time_t( | ||
_ffi.cast('ASN1_UTCTIME*', notAfter), now) < 0 | ||
notAfter = self.get_notAfter().decode('utf-8') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After a discussion with Paul I think we should not do that. pyOpenSSL should offer as little abstraction as necessary and since this bug has been fixed in 1.0.2a, we shouldn’t add baggage to our codebase.
Thanks for this and your responsiveness! Please revert the one change and we’re good to go if the CI stays green. :) |
4 similar comments
4 similar comments
@hynek Done |
The fix that will stop the notAfter bug has not yet shipped (should be in 1.0.2b actually), but we'll merge this now since it shows the issue. Thanks again! |
Compatibility for OpenSSL >= 1.0.1i
Thanks to all involved and sorry for the delays! |
ASN1_UTCTIME_cmp_time_t is returning -2 on OpenSSL 1.0.2
Addresses #192