This is a command line Python version of the c't password manager which is extended to save password settings locally.
What is c't SESAM?
c't SESAM is a password manager which calculates passwords from masterpasswords and domains using PBKDF2. There are compatible versions of this software for different platforms. This is the the console version written in Python.
Dependencies
If you want to use a virtual environment execute the following commands in the source directory:
python3 -m venv env
source env/bin/activate
pip install -U pip wheel
In all cases install the dependencie named in requirements.txt
:
pip install -r requirements.txt
Usage
Get Usage instructions with --help
:
$ python ctSESAM.py --help
usage: ctSESAM.py [-h] [-n] [-u] [--master-password MASTER_PASSWORD]
[-d DOMAIN] [-q]
Generate domain passwords from your masterpassword.
optional arguments:
-h, --help show this help message and exit
-n, --no-sync Do not synchronize with a server.
-u, --update-sync-settings
Ask for server settings before synchronization.
--master-password MASTER_PASSWORD
If not specified it will be prompted.
-d DOMAIN, --domain DOMAIN
If not specified it will be prompted.
-q, --quiet Display only prompts (if necessary) and the plain
password
Start normally with:
python ctSESAM.py
Running tests
First install pytest
:
pip install pytest
Run the tests with:
python3 -m pytest