Check() through a proxy?
- Dominant language
- JavaScript
- Stars
- 86
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to use ocsp in a package that also consumes https-proxy-agent to allow connections through a proxy.
While I can't compose 2 agents, I can get the underlying socket and it's certificate but need to contact the OCSP server through the same proxy.
Can Check() take another member in its options parameter that would be passed to the http.request to allow an agent to be specified?
Would be happy to send a PR, or look at an alternate solution.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the Check() implementation and trace the OCSP request to the http.request call. Review how https-proxy-agent supplies an agent, then verify that the requested option can route the OCSP request through the proxy without breaking existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100