MiniVault
Description
A simple, lightweight vault implemented in pure Python, using RC6, for securely storing and retrieving secrets in light-duty applications.
Requirements
This package require:
- python3
- python3 Standard Library
- RC6Encryption
Installation
Pip
python3 -m pip install MiniVault
Git
git clone "https://github.com/mauricelambert/MiniVault.git"
cd "MiniVault"
python3 -m pip install .
Wget
wget https://github.com/mauricelambert/MiniVault/archive/refs/heads/main.zip
unzip main.zip
cd MiniVault-main
python3 -m pip install .
cURL
curl -O https://github.com/mauricelambert/MiniVault/archive/refs/heads/main.zip
unzip main.zip
cd MiniVault-main
python3 -m pip install .
Usages
Python script
from MiniVault import *
from getpass import getpass
category = "finance"
role = "db-admin"
username = "alice"
password = "S3cureP@ss!"
master_password = getpass()
vault = PasswordVault.start(
master_password=master_password, root_dir="my_vault"
) # master password required to open vault
vault.create_new_category("finance", master_password) # master password required to create new category
vault.put_credentials(category, role, username, password) # master password not required to add new password
vault.put_credentials(category, "db-system", username, password)
creds = vault.get_credentials(category, role)
print("Username:", creds["username"] + ",", "Password:", creds["password"])
assert creds["username"] == username, "Invalid username"
assert creds["password"] == password, "Invalid password"
Links
License
Licensed under the GPL, version 3.
Metadata
Release files for MiniVault 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| minivault-0.0.1.tar.gz | 23.7 kB | Without provenance | Details for minivault-0.0.1.tar.gz |
Release files / minivault-0.0.1.tar.gz
| Download URL | minivault-0.0.1.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0f2315183403166c4ba3112356d3209076e5bfc0d36610660c2b1d278fd4ec0
|
|
BLAKE2b-256 checksum How to use checksums |
581eea17b9ccc1db475f8054f91d050f193ac47c0af9c9df2b44ad374ef4dfc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for MiniVault 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.