Git Product home page Git Product logo

Comments (11)

juga0 avatar juga0 commented on July 28, 2024

The agent is defined in https://github.com/juga0/bwscanner/blob/develop/bwscanner/fetcher.py#L76.

In theory twisted should be using the certificates system path in trustRoot (https://twistedmatrix.com/documents/17.1.0/api/twisted.web.client.BrowserLikePolicyForHTTPS.html)

from bwscanner.

meejah avatar meejah commented on July 28, 2024

What OS are you running this on?

from bwscanner.

juga0 avatar juga0 commented on July 28, 2024

Debian, so cacert is missing, but that shouldn't be the issue.

from bwscanner.

meejah avatar meejah commented on July 28, 2024

Another thing to try would be the now built-in txtorcon agent, available via Tor.web_agent() or Circuit.web_agent() (the latter uses the given circuit only).

from bwscanner.

meejah avatar meejah commented on July 28, 2024

Yeah IME Debian works fine. You could try installing certifi (Python package) but .. shouldn't need to?

from bwscanner.

juga0 avatar juga0 commented on July 28, 2024

Actually i tried SSL_CERT_FILE="$(python -m certifi)" as explained in twisted/treq#94, and then i didn't get this error, but still this shouldn't be needed...

from bwscanner.

juga0 avatar juga0 commented on July 28, 2024

Running Circuit.web_agent() in this example https://github.com/meejah/txtorcon/blob/master/examples/web_client_custom_circuit.py#L47 also gives certificate error.
Maybe twisted version we are using here (16.0.2)?. I'll try with others.

from bwscanner.

juga0 avatar juga0 commented on July 28, 2024

Last version also gives the error.

from bwscanner.

meejah avatar meejah commented on July 28, 2024

Do you have the "ca-certificates" package installed in Debian?

from bwscanner.

juga0 avatar juga0 commented on July 28, 2024

Yes.

from bwscanner.

juga0 avatar juga0 commented on July 28, 2024

Upgrading pyOpenSSL to 17.5.0 seems to solve the issue.

from bwscanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.