An encrypted database for files.
Sometimes, instead of entire folders, which are visibly encrypted, we need to store only files
$ git clone https://github.com/samarsault/ds2
$ cd ds2
$ pip install .
We need to first define the environment variable DS2_DIR, the path to the database root directory.
export DS2_DIR="$HOME/ds2"
ds2 can then be invoked as
$ ds2
Usage: ds2 [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
access Launch database shell
create Create new database
destroy Destroy database
ls List all databases
Accessing a database will launch a shell to perform operations in the database.
$ ds2 access test
Enter Password:
Initialized Database test
> help
Documented commands (type help <topic>):
========================================
add extract help ls quit rm