-
Notifications
You must be signed in to change notification settings - Fork 70
PYTHON-5195 Allow OCSP server to be run as a daemon #626
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
Conversation
@blink1073: I noted that this wasn't tested on Debian 12 hosts, but are you aware of any workaround for the following error when launching the OCSP responder?
See: PHPC task failure for more context. I think this can be traced back to wbond/oscrypto#78 and there appear to be some suggested workarounds that depend on a specific commit since it looks like the fix has yet to be tagged. If that's not feasible, I can look into switching our OCSP tasks over to a different platform. |
@@ -4,5 +4,6 @@ flask==2.2.5 | |||
itsdangerous==2.1.2 | |||
Jinja2==3.1.5 | |||
MarkupSafe==2.1.4 | |||
git+https://github.com/wbond/oscrypto.git@d5f3437 |
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.
@blink1073: This removal is what appears to have caused the regression in PHPC. I noticed that this commit was mentioned in wbond/oscrypto#78 (comment) as a workaround for the upstream issue with oscrypto 1.3.0.
The original context for this change was #452, but it looks like we'd do well to include a comment here for future reference. Might be a good idea to reference the upstream issue.
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.
Hmm, I had removed the specific tag because I was seeing a warning from pip. I'll revert to use the tag.
Tested with mongodb/mongo-python-driver#2190: https://spruce.mongodb.com/version/67cc94d4b26dff000739c152/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
and the C driver: https://spruce.mongodb.com/version/67ced2d64d80c40007a73649/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
Uses
waitress
to create a production flask server that can be run as a daemon on all platforms.Adds tests for OCSP server on Mac, Windows, and RHEL.