Skip to content
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

Remove faulty cryptcheck #35

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ Statistics on the [searx](https://asciimoo.github.io/searx/) instances: https://

## Installation

### Download and run cryptcheck-backend

searx-stats2 expects [cryptcheck-backend](https://github.com/dalf/cryptcheck-backend) to respond on localhost:7000:

```sh
docker run --rm -p 7000:7000 dalf/cryptcheck-backend:latest
```

Note: cryptcheck-backend is used to get the TLS grade.

### Install system packages

Install packages:
Expand Down
3 changes: 0 additions & 3 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ <h2>{{instances_filtered.length}}&nbsp;online instances</h2>
</table>
</div>

<h4 id="help-tls-grade">TLS grade</h4>
<p>Grade from <a href="https://cryptcheck.fr/">cryptcheck.fr</a> (source code: <a href="https://github.com/aeris/cryptcheck">aeris/cryptcheck</a> and <a href="https://github.com/dalf/cryptcheck-backend">dalf/cryptcheck-backend</a>).</p>

<h4 id="help-csp-grade">CSP grade</h4>
<p>Grade from <a href="https://observatory.mozilla.org/faq.html">Observatory by mozilla</a>.</p>

Expand Down
3 changes: 0 additions & 3 deletions searxstats/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
TOR_SOCKS_PROXY_HOST = "127.0.0.1"
TOR_SOCKS_PROXY_PORT = 9050

# Local cryptcheck-backend
CRYPTCHECK_BACKEND = 'http://127.0.0.1:7000'

# Fetcher.external_ressource: load page timeout, in seconds
BROWSER_LOAD_TIMEOUT = 20

Expand Down
5 changes: 0 additions & 5 deletions searxstats/fetcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from . import external_ressources
from . import network
from . import selfreport
from . import cryptcheck_backend
from . import mozillaobs
from . import timing

Expand All @@ -35,10 +34,6 @@
'self-report',
'Fetch the /status and /config URLs 💡',
'other'),
Fetcher(cryptcheck_backend,
'https-grade',
'Check the HTTPS / TLS grade 🔒',
'other'),
Fetcher(mozillaobs,
'csp-grade',
'Check the CSP grade 📄',
Expand Down
70 changes: 0 additions & 70 deletions searxstats/fetcher/cryptcheck_backend.py

This file was deleted.