Commit graph

81 commits

Author SHA1 Message Date
Packmad
6c27d175b8 Update README.md
broken link due to typo
2020-12-23 17:35:37 +01:00
Andreas Schildbach
0b6d000768 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
17f6f94e6b 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
c08f702da1 Update python dependancies 2020-11-28 11:31:09 +01:00
Andreas Schildbach
131f5d59c8 Dockerfile: Fix missing gcc and libc-dev build requirements. 2020-11-28 11:31:09 +01:00
dependabot[bot]
339367b2d1 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
a7c7a092fd Fix travis python version 2020-10-04 19:00:27 +02:00
Christophe Mehay
428ba87690 Update to python 3.8 2020-10-04 15:12:19 +02:00
Christophe Mehay
b7bf5f61b0 Remove tag signature verification due to issue with expired keys 2020-10-04 12:10:10 +02:00
Christophe Mehay
a9bbdd4e94 Add tests for Vanguards setup 2020-06-15 00:02:38 +02:00
Christophe Mehay
ddd0be66ca WIP: Adding vanguard... 2020-06-15 00:02:38 +02:00
Christophe Mehay
583781dcd4 Python 3.7 only 2020-05-09 18:17:15 +02:00
Christophe Mehay
21e87051e6 Do not exit if matched environment variable cannot be parsed 2020-05-09 18:17:15 +02:00
Christophe Mehay
068d11c159 Migrate from Pipenv to Poetry 2020-05-09 18:17:15 +02:00
Juraj Bednar
7b41f3e383 Fix typo in README
fix typo
2020-02-16 14:11:29 +01:00
Christophe Mehay
200900af4d Add TOR_EXTRA_OPTIONS in torrc template 2020-02-16 12:29:43 +01:00
Christophe Mehay
4c3c04e7a5 Add documentation 2019-12-03 19:38:29 +01:00
Juraj Bednar
e27afd0709 Add an option TOR_SOCKS_PORT to expose tor socks port for outgoing connections 2019-12-03 19:38:29 +01:00
Christophe Mehay
0bfb557c06
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
e89a6d7a65
Merge pull request #35 from cmehay/fix
Fix type error for private key loading
2019-12-03 09:21:01 +01:00
Christophe Mehay
7c5dcac785 Fix type error for private key loading 2019-12-03 09:17:15 +01:00
Christophe Mehay
9bf2d96e60
Merge pull request #34 from cmehay/update
Update pytor to 0.1.5
2019-12-03 09:00:41 +01:00
Christophe Mehay
a00e32eebb Update pytor to 0.1.5 2019-12-03 08:59:01 +01:00
dependabot[bot]
95ca2d70a0
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
3cf37e1f8f
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
7bed3974f0 Fix typo, add test for v2 secret key in env, fix docker build scripts 2019-08-03 16:33:21 +02:00
Christophe Mehay
24c65843c3
Merge pull request #26 from cmehay/doc
Add push hook for docker automated build
2019-05-12 16:03:34 +02:00
Christophe Mehay
9b1936575c Add push hook for docker automated build 2019-05-12 16:02:35 +02:00
Christophe Mehay
3abc50e498
Merge pull request #25 from cmehay/doc
Update documentation for sockets
2019-05-12 14:47:45 +02:00
Christophe Mehay
d666d38974 Update documentation for sockets 2019-05-12 14:43:33 +02:00
Christophe Mehay
4d76ed30ef
Merge pull request #23 from cmehay/autobuild
Add docker build hook
2019-04-29 23:26:59 +02:00
Christophe Mehay
9d0ce3f8ca Add docker build hook 2019-04-29 23:24:25 +02:00
Christophe Mehay
a348494092
Merge pull request #22 from cmehay/v3
Add tor v3 addresses support
2019-04-29 22:41:28 +02:00
Christophe Mehay
9e40a2d075 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
Christophe Mehay
326667d24d Merge pull request #10 from cmehay/ports
Parse multiple ports from environment
2017-02-11 00:34:28 +01:00
Christophe Mehay
3843fe5bd3 Parse multiple ports from environment 2017-02-11 00:33:15 +01:00
Christophe Mehay
f5b25abd3c Merge pull request #9 from cmehay/reload
Add reload on config change
2017-02-07 09:21:25 +01:00