lock
is a very simple password manager written in Python.
It uses PyNaCl library's symmetric encryption functionality to encrypt everything stored in the database.
-
Clone the repository:
git clone https://github.com/declval/lock
-
Change to the created directory:
cd lock
-
Create a Python virtual environment and activate it (Optional):
On Windows (cmd.exe):
py -m venv .venv .venv\Scripts\activate.bat
On Linux, macOS:
python3 -m venv .venv source .venv/bin/activate
-
Install missing dependencies:
pip install -r requirements.txt
-
Run the Qt Resource Compiler
On Windows (cmd.exe):
.venv\Lib\site-packages\PySide6\rcc -g python resources.qrc -o resources_rc.py
On Linux, macOS:
.venv/bin/pyside6-rcc -g python resources.qrc -o resources_rc.py
-
Run the program without arguments to launch the GUI version. For command line usage information add
-h/--help
:On Windows (cmd.exe):
py lock.py
On Linux, macOS:
python3 lock.py
-
Run the tests (Optional):
On Windows (cmd.exe):
py -m unittest test_lock.py
On Linux, macOS:
python3 -m unittest test_lock.py