Skip to main content

Synchronizes your WireGuard settings with Pro Custodibus.

Project description

Pro Custodibus Agent

Pro Custodibus is a service that makes WireGuard VPNs easy to deploy and manage. You run the Pro Custodibus agent on your own internal hosts, and the agent monitors and synchronizes your hosts' WireGuard settings with the remote Pro Custodibus service.

Installing

Requires python 3.6 or newer and libsodium. Installer script can install requirements, plus the agent itself, on most linuxes. Install from source like the following:

./install.sh --install

Or run it like the following to see more options:

./install.sh --help

See the Installer Documentation for full details.

Development

Set up dev env

  1. Create a virtualenv with pyenv:
pyenv virtualenv 3.6.13 procustodibus-agent
  1. Activate the virtualenv:
pyenv local procustodibus-agent 3.6.13 3.7.10 3.8.8 3.9.2
  1. Install tox:
pip install tox
  1. Install pre-commit and pre-push hooks:
tox -e pre-commit install
tox -e pre-commit install -- -t pre-push

Dev tasks

List all tox tasks you can run:

tox -av

Run unit tests in watch mode:

tox -e watch

Run all (docker-based) installer tests:

docker-compose -f test_install/docker-compose.yml build --pull
tox -e py36 test_install

Manually run pre-push hook on all version-controlled files:

tox -e pre-commit run -- -a --hook-stage push

Resources

License

The MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

procustodibus_agent-1.2.6.tar.gz (25.5 kB view hashes)

Uploaded Source

Built Distribution

procustodibus_agent-1.2.6-py3-none-any.whl (29.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page