π‘οΈΒ Encrypted Storage for Key Folders & Sensitive Artifacts
PQVault is a post-quantum-oriented secure repository designed to store, index, and extract sensitive files such as:
-
ML-KEM / Dilithium keypairs
-
Certificates
-
License files
-
Secret configuration folders
-
Encrypted backups
-
Any security-critical directory the client needs to preserve
The system packs all content into a single file:
with integrity verification using CRC32.
1οΈβ£ What PQVault Is (Explained Simply)
PQVault behaves like a mini secure archive that stores directories containing key files.
It is meant for:
-
Backup of cryptographic keys
-
Secure exporting of a key directory
-
Emergency restoration
-
Offline archival
-
Audit logging of key evolution
Think of it as a quantum-age vault, but simple enough for any professional to use.
2οΈβ£ What PQVault Stores
When the client runs add <dir>, PQVault stores:
-
β° Timestamp
-
π Original directory name
-
π Each file name
-
π File size
-
π CRC32 integrity checksum
-
πΎ Raw file contents
Everything is saved inside:
Multiple directories can be appended sequentially.
3οΈβ£ Command Summary (Very Simple)
β Add a directory
π List all stored entries
π€ Extract a single file
Extraction restores the file into:
4οΈβ£ How the Client Should Use PQVault
Below is the workflow designed for real-world usage.
π¦ A. Adding Key Folders to the Vault
1. Select the directory you want to store
Example:
2. Run the add command
3. PQVault will:
-
Read all files
-
Compute CRC32 for each
-
Store metadata + raw file bytes into
vault.pqv -
Append a new vault entry (the vault supports multiple entries)
Output shown to the user:
π© B. Listing Whatβs Inside the Vault
To check which directories or backups were previously added:
Example output:
Each line displays:
-
Timestamp
-
Origin directory name
This is essential for audit logs and forensic tracking.
π₯ C. Extracting a File from the Vault
If the client loses a key and needs to restore it:
1. Run the extract command
2. PQVault will:
-
Search for
kyber.prvinsidevault.pqv -
Restore it into a folder named:
3. Output example:
If the file does not exist:
5οΈβ£ What PQVault Does Not Do
To avoid confusion:
π« PQVault is not an encryption system
π« PQVault does not replace PQCypher
π« PQVault does not decrypt or encrypt files
It is an offline archive with integrity verification, not a cryptographic cipher.
If the client needs encryption β use PQCypher or PQFileCompressAndLock.
PQVault = storage only.
6οΈβ£ Best Practices for Clients
βοΈ Keep vault.pqv in multiple secure locations
Preferably:
-
Offline USB
-
Cloud encrypted folder
-
Company backup server
βοΈ Archive keys after each major change
Ex:
βοΈ Do not modify vault.pqv manually
It is a binary file with defined structure. Alterations break CRC verification.
βοΈ Use meaningful directory names
Clients should name folders clearly before adding them.
7οΈβ£ Quick Example Scenario (Realistic)
π― Goal: A company wants to back up their PQCypher key directory.
-
They organize their keys in a folder:
-
They execute:
-
Months later, they lose
dilithium.prv. -
They restore with:
-
File reappears safely under:
π Final Client Notes
PQVault is designed for security teams, IT administrators, and engineers who must keep critical files preserved with integrity assurance.
Its simplicity is intentional:
-
no dependencies
-
no external libraries
-
works offline
-
zero configuration