Skip to main content

Python password manager

Project description

Vault is a simple Python password manager. It allows you to securely save secrets with a simple CLI interface.

Features

  • AES-256 encryption with pycryptodome

  • Secret key is hashed with a unique salt (100,000 iterations)

  • Possibility to create an unlimited number of vaults

  • Clipboard cleared automatically

  • Automatic vault locking after inactivity

  • Password suggestions with password-generator-py

  • Import / Export in Json

Basic usage

Demo

Demo

Installation and setup

Using PyPI

pip3 install pyvault

# Run setup
vault

Cloning the project

# Clone project
git clone https://github.com/gabfl/vault && cd vault

# Installation
python3 setup.py install

# Run setup
vault

Advanced settings:

usage: vault [-h] [-t [CLIPBOARD_TTL]] [-p [HIDE_SECRET_TTL]]
             [-a [AUTO_LOCK_TTL]] [-v VAULT_LOCATION] [-c CONFIG_LOCATION]
             [-k] [-i IMPORT_ITEMS] [-x EXPORT] [-f [{json,native}]] [-e]

optional arguments:
  -h, --help            show this help message and exit
  -t [CLIPBOARD_TTL], --clipboard_TTL [CLIPBOARD_TTL]
                        Set clipboard TTL (in seconds, default: 15)
  -p [HIDE_SECRET_TTL], --hide_secret_TTL [HIDE_SECRET_TTL]
                        Set delay before hiding a printed password (in
                        seconds, default: 15)
  -a [AUTO_LOCK_TTL], --auto_lock_TTL [AUTO_LOCK_TTL]
                        Set auto lock TTL (in seconds, default: 900)
  -v VAULT_LOCATION, --vault_location VAULT_LOCATION
                        Set vault path
  -c CONFIG_LOCATION, --config_location CONFIG_LOCATION
                        Set config path
  -k, --change_key      Change master key
  -i IMPORT_ITEMS, --import_items IMPORT_ITEMS
                        File to import credentials from
  -x EXPORT, --export EXPORT
                        File to export credentials to
  -f [{json,native}], --file_format [{json,native}]
                        Import/export file format (default: 'json')
  -e, --erase_vault     Erase the vault and config file

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

pyvault-1.4.5.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

pyvault-1.4.5-py2.py3-none-any.whl (16.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyvault-1.4.5.tar.gz.

File metadata

  • Download URL: pyvault-1.4.5.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyvault-1.4.5.tar.gz
Algorithm Hash digest
SHA256 ab026cd056b9a311f55ac301925849e3d5bdceb5d6cb3a825125fe1f6c1370c8
MD5 ba6f1bc7e65c300f97d6524ed8178d1d
BLAKE2b-256 37a9ee7f93a8fd4a401ca023387b7ad4ad239a793b59be9c51a548c7f1a14833

See more details on using hashes here.

File details

Details for the file pyvault-1.4.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyvault-1.4.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e19db7ab379840791c6b4be96d367507efdaf78d8182cdf13567ebab71f69720
MD5 6c892aa67d3b1cbb79dce89b427a753a
BLAKE2b-256 846fa9182c621de843d93b51f62523fa66cf577c60011ab06e77060d46b717c4

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