Skip to main content

Keep your passwords behind the firewall

Project description

TeamVault

TeamVault is an open-source web-based shared password manager for behind-the-firewall installation. It requires Python 3.8+ and PostgreSQL (with the unaccent extension).

Installation

apt-get install libffi-dev libldap2-dev libpq-dev libsasl2-dev python3.X-dev postgresql-contrib
pip install teamvault
teamvault setup
vim /etc/teamvault.conf
# note that the teamvault database user will need SUPERUSER privileges
# during this step in order to activate the unaccent extension
teamvault upgrade
teamvault plumbing createsuperuser
teamvault run

Update

pip install --upgrade teamvault
teamvault upgrade

Development

Install Postgres and create a database and superuser for TeamVault to use, for example by starting a Docker container:

docker run --rm --detach --publish=5432:5432 --name teamvault-postgres -e POSTGRES_USER=teamvault -e POSTGRES_PASSWORD=teamvault postgres:latest

To compile all JS & SCSS files, you'll need to install all required packages via bun (or yarn/npm) with node >= v18.

Use bun/yarn/npm run serve to start a dev server.

Now create a virtual environment to install and configure TeamVault in:

pipenv install
pipenv shell
pip install -e .
export TEAMVAULT_CONFIG_FILE=teamvault.cfg
teamvault setup
vim teamvault.cfg  # base_url = http://localhost:8000
                   # session_cookie_secure = False
                   # database config as needed
teamvault upgrade
teamvault plumbing createsuperuser
teamvault run

Now open http://localhost:8000

If you have problems with server terminating use NPM istead of Bun

Scheduled background jobs

We use huey to run background jobs. This requires you to run a second process, in parallel to TeamVault itself. You can launch it via manage.py:

teamvault run_huey

Release process

  1. Install the "build" and "twine" packages via pip
  2. Bump the version in teamvault/__version__.py
  3. Update CHANGELOG.md with the new version and current date
  4. Make a release commit with the changes made above
  5. Push the commit
  6. Run ./build.sh to create a new package
  7. Sign and push the artifacts to PyPI (twine upload -s dist/*)
  8. Add a new GitHub release

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

teamvault-1.0.0rc6.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teamvault-1.0.0rc6-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file teamvault-1.0.0rc6.tar.gz.

File metadata

  • Download URL: teamvault-1.0.0rc6.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for teamvault-1.0.0rc6.tar.gz
Algorithm Hash digest
SHA256 508bd17449477716dd31e006d09ea8fca7fbeb57583289356845ec3d1744976f
MD5 a1059a8ebb294dc411defd4f827cbf0f
BLAKE2b-256 68c7ec326065231b4dc95cd26ab81034250e60acfe1f8442ee31e09300ba7923

See more details on using hashes here.

File details

Details for the file teamvault-1.0.0rc6-py3-none-any.whl.

File metadata

  • Download URL: teamvault-1.0.0rc6-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for teamvault-1.0.0rc6-py3-none-any.whl
Algorithm Hash digest
SHA256 b71c5c3b0bc6a7eab116edeb6e42d9bb95b3ece8eb191946b7ae0356f5b78a88
MD5 ff7a715272a26f1d36ce257ec5f80184
BLAKE2b-256 5f9afe27c4a0caa39cc9ed1efa3d71c9fc32ce587b146849c86fdfb9a2f3476e

See more details on using hashes here.

Supported by

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