Simple terminal based file encryption tool using AES-256-GCM
Project description
Volkoff
A secure file encryption tool using AES-256-GCM encryption.
Installation:
pip install volkoff
Launch with:
vk
Implementation Details
Encryption Process
- Generates a 256-bit AES key for secure encryption
- Creates a container format that includes:
- File extension metadata
- Original file contents
- Unique 12-byte nonce for each encryption
- Encrypts the entire container using AES-256-GCM
- Returns the encryption key for secure storage
Decryption Process
- Validates the provided encryption key
- Extracts the nonce from the encrypted container
- Decrypts the container to retrieve:
- Original file extension
- File contents
- Reconstructs the file with original metadata
Security Features
- AES-256-GCM authenticated encryption
- Unique nonce generation per file
- Secure container format preserving file metadata
- Authentication to prevent tampering
Important Security Notes
- Store encryption keys securely - they cannot be recovered
- Maintain secure backups of encryption keys
- Verify successful decryption after encrypting critical files
Single key, Multiple Files
From 0.1.44 supports the VOLKOFF_KEY env variable and a new ch option where a folder will be compressed+encrypted.
The recommended aproach is to keep the key in a password manager and to temporarily set it in a terminal session.
- linux:
export VOLKOFF_KEY=<key>
- Windows (CMD):
set VOLKOFF_KEY=<key>
- Windows (PS):
$Env:VOLKOFF_KEY = "<key>"
Disclaimer
The author and contributors are not responsible for any data loss or corruption that may occur while using this software. Users are strongly advised to:
- Keep secure backups of all important files before encryption
- Safely store encryption keys in multiple locations
- Test the decryption process on non-critical files first
- Verify successful decryption immediately after encryption
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
volkoff-0.1.45.tar.gz
(136.4 kB
view details)
Built Distribution
volkoff-0.1.45-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file volkoff-0.1.45.tar.gz
.
File metadata
- Download URL: volkoff-0.1.45.tar.gz
- Upload date:
- Size: 136.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5f072e21a06a6f4f47b1097ee9e4977890bd432f4678280336621fc3440fba |
|
MD5 | 8e9ebd960773484774e9548c1f1a0d29 |
|
BLAKE2b-256 | c1cc74cd5196a06cf0b380c7d3b012d132794b901c163dd0caa704ba66420054 |
File details
Details for the file volkoff-0.1.45-py3-none-any.whl
.
File metadata
- Download URL: volkoff-0.1.45-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd78822e0e7ddc9d83fd040cec06b8e3fe93d8b6f14a5eee11df9a024b030f65 |
|
MD5 | b7a57319a64770c0fa57570b6a1b343a |
|
BLAKE2b-256 | 6c94d2247e32ccced64084521b1e2b0733bf022f35cd98a1af8fd1a7dfa03451 |