Comments (11)
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.
What OS are you running this on?
from bwscanner.
Debian, so cacert is missing, but that shouldn't be the issue.
from bwscanner.
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.
Yeah IME Debian works fine. You could try installing certifi
(Python package) but .. shouldn't need to?
from bwscanner.
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.
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.
Last version also gives the error.
from bwscanner.
Do you have the "ca-certificates" package installed in Debian?
from bwscanner.
Yes.
from bwscanner.
Upgrading pyOpenSSL to 17.5.0 seems to solve the issue.
from bwscanner.
Related Issues (20)
- Run chutney using tools/test-network.sh instead of ./chutney start networks/basic-025 HOT 1
- Connect to a running tor only for chutney tests
- NOTE: temporally disable review on PRs HOT 1
- allow disabling file hash checking on the command line
- Check dependencies are correct when installing with python setup.py install
- ``Download failed`` for most of the relays
- exceptions.ValueError: Did not find a suitable exit relay to build this circuit.
- Setting DisableDebuggerAttachment too late HOT 1
- Unhandled Error on disconnect
- __getitem__ on a NoneType
- Excessive memory usage HOT 2
- [aggregate] Missing error handling
- Remove scripts/detect_partitions.py? HOT 3
- txsocksx dependency is not compatible with Python 3 HOT 4
- test_measurement.py fails HOT 2
- Chutney create more exits than non-exits relays HOT 3
- TwoHops algorithm is different to Torflow HOT 1
- Tests fail using chutney bwscanner configuration HOT 3
- Simplify code using txtorcon new features HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bwscanner.