Commit graph

84 commits

Author SHA1 Message Date
Chirstophe Mehay
7ab49bfde4 Add tor and torsock version in plain files
Now:
 - `make build` will build the container with tor version set in `current_tor_version` and `current_torsock_version`
 - `make update_tor_version` will update theses files
2021-02-13 21:08:46 +01:00
Chirstophe Mehay
1dcec5c580 Bump to tor 0.4.4.7
Add rust in the tor build stage
also ignore GPG_KEY to avoid waring at startup
2021-02-13 12:44:28 +01:00
Andreas Schildbach
b340389ed2 Make the last_tor_version.sh script executable. 2020-12-23 17:36:33 +01:00
Packmad
b85ece754c Update README.md
broken link due to typo
2020-12-23 17:35:37 +01:00
Andreas Schildbach
25f83d89a5 Make docker determine the 'last tor version' and 'last torsocks version'
This copies the logic from last_tor_version.sh and last_torsocks_version.sh
into the Dockerfile itself. The Tor version can still be specified with the
`tor_version` and `torsocks_version` arguments, as before. If these arguments
are missing, the last versions are determined by the regular expression.

This has a couple of advantages:

1) Users need not have git, make or docker-compose installed to build the image.
2) Users can build the image entirely inside a container which reduces the trust
   needed in the safety of the build instructions.
3) `git tag` is much quicker than `git ls-remote` since it operates on local data.
2020-12-13 15:36:20 +01:00
Andreas Schildbach
83d59f7ff0 Dockerfile: Add torsocks binary.
This has two purposes:
1) The 'torify' wrapper is already included, and it needs torsocks.
2) Use torsocks for health checking your onion service like this:

healthcheck:
  test: ["CMD-SHELL", "torsocks nc -z <onion address> <port> || exit 1"]
  interval: 2m
2020-12-06 01:09:47 +01:00
Chirstophe Mehay
b451f25be9 Update python dependancies 2020-11-28 11:31:09 +01:00
Andreas Schildbach
bd66bcd2fd Dockerfile: Fix missing gcc and libc-dev build requirements. 2020-11-28 11:31:09 +01:00
dependabot[bot]
d1a03738ed Bump cryptography from 2.9.2 to 3.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.9.2 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.9.2...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 23:24:13 +01:00
Christophe Mehay
36ac5e97a8 Fix travis python version 2020-10-04 19:00:27 +02:00
Christophe Mehay
4ba0ac02d8 Update to python 3.8 2020-10-04 15:12:19 +02:00
Christophe Mehay
2bb40b2435 Remove tag signature verification due to issue with expired keys 2020-10-04 12:10:10 +02:00
Christophe Mehay
5b6e87c6e3 Add tests for Vanguards setup 2020-06-15 00:02:38 +02:00
Christophe Mehay
0334d7eb6b WIP: Adding vanguard... 2020-06-15 00:02:38 +02:00
Christophe Mehay
af0cbea44f Python 3.7 only 2020-05-09 18:17:15 +02:00
Christophe Mehay
dacda29137 Do not exit if matched environment variable cannot be parsed 2020-05-09 18:17:15 +02:00
Christophe Mehay
caf94bc54d Migrate from Pipenv to Poetry 2020-05-09 18:17:15 +02:00
Juraj Bednar
dddf9979db Fix typo in README
fix typo
2020-02-16 14:11:29 +01:00
Christophe Mehay
914d1d0c72 Add TOR_EXTRA_OPTIONS in torrc template 2020-02-16 12:29:43 +01:00
Christophe Mehay
0eb745a4f9 Add documentation 2019-12-03 19:38:29 +01:00
Juraj Bednar
f74a220cfb Add an option TOR_SOCKS_PORT to expose tor socks port for outgoing connections 2019-12-03 19:38:29 +01:00
Christophe Mehay
9e8d2b395e Merge pull request #33 from cmehay/dependabot/pip/typed-ast-1.3.2
Bump typed-ast from 1.3.1 to 1.3.2
2019-12-03 19:24:02 +01:00
Christophe Mehay
4f643741f4 Merge pull request #35 from cmehay/fix
Fix type error for private key loading
2019-12-03 09:21:01 +01:00
Christophe Mehay
a798d17e10 Fix type error for private key loading 2019-12-03 09:17:15 +01:00
Christophe Mehay
a3c5d6d066 Merge pull request #34 from cmehay/update
Update pytor to 0.1.5
2019-12-03 09:00:41 +01:00
Christophe Mehay
17549f764f Update pytor to 0.1.5 2019-12-03 08:59:01 +01:00
dependabot[bot]
1951659f78 Bump typed-ast from 1.3.1 to 1.3.2
Bumps [typed-ast](https://github.com/python/typed_ast) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/python/typed_ast/releases)
- [Changelog](https://github.com/python/typed_ast/blob/master/release_process.md)
- [Commits](https://github.com/python/typed_ast/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-02 20:23:06 +00:00
Christophe Mehay
ed1050fc91 Merge pull request #31 from cmehay/typo
Fix typo, add test for v2 secret key in env, fix docker build scripts
2019-08-03 16:37:44 +02:00
Christophe Mehay
5ae69fe761 Fix typo, add test for v2 secret key in env, fix docker build scripts 2019-08-03 16:33:21 +02:00
Christophe Mehay
b0564669ac Merge pull request #26 from cmehay/doc
Add push hook for docker automated build
2019-05-12 16:03:34 +02:00
Christophe Mehay
f44811a08c Add push hook for docker automated build 2019-05-12 16:02:35 +02:00
Christophe Mehay
ec6f15761b Merge pull request #25 from cmehay/doc
Update documentation for sockets
2019-05-12 14:47:45 +02:00
Christophe Mehay
caea3c0188 Update documentation for sockets 2019-05-12 14:43:33 +02:00
Christophe Mehay
43768da63d Merge pull request #23 from cmehay/autobuild
Add docker build hook
2019-04-29 23:26:59 +02:00
Christophe Mehay
29eb1ce01e Add docker build hook 2019-04-29 23:24:25 +02:00
Christophe Mehay
f104c78c7c Merge pull request #22 from cmehay/v3
Add tor v3 addresses support
2019-04-29 22:41:28 +02:00
Christophe Mehay
d3252e276e Add tor v3 addresses support 2019-04-29 22:37:22 +02:00
Christophe Mehay
8d562ed2e6 Merge pull request #17 from cmehay/pyentrypoint
Update pyentrypoint to 0.5.1
2017-08-29 15:25:52 +02:00
Christophe Mehay
49aed0e8db Update pyentrypoint to 0.5.1 2017-08-29 15:21:58 +02:00
Christophe Mehay
c344b08c9c Update README.md 2017-08-21 10:26:16 +02:00
Christophe Mehay
5ab7058701 Merge pull request #16 from cmehay/multiple
Fix dockerfile
2017-08-21 10:19:57 +02:00
Christophe Mehay
ccb26c9378 Fix dockerfile 2017-08-21 10:15:17 +02:00
Christophe Mehay
7090945990 Merge pull request #15 from cmehay/multiple
Rewrite Onions.py and add support for multiple services per address
2017-08-21 09:47:26 +02:00
Christophe Mehay
3ee624d910 Add Makefile and docker-compose v3 2017-08-21 09:38:58 +02:00
Christophe Mehay
f206ea354c Add pre-commit 2017-08-21 09:38:58 +02:00
Christophe Mehay
27dd14ab33 Add support for multiple services per address 2017-08-21 09:38:45 +02:00
Christophe Mehay
a939d3620f Merge pull request #12 from cmehay/socket
Add socket support
2017-03-15 09:09:32 +01:00
Christophe Mehay
f9f2d53556 Add socket support 2017-03-15 09:07:53 +01:00
Christophe Mehay
26aa3ab364 Merge pull request #11 from cmehay/eadme
Fix readme
2017-02-11 00:38:18 +01:00
Christophe Mehay
7541712c86 Fix readme 2017-02-11 00:37:48 +01:00