Skip to main content

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

  1. Generates a 256-bit AES key for secure encryption
  2. Creates a container format that includes:
    • File extension metadata
    • Original file contents
    • Unique 12-byte nonce for each encryption
  3. Encrypts the entire container using AES-256-GCM
  4. Returns the encryption key for secure storage

Decryption Process

  1. Validates the provided encryption key
  2. Extracts the nonce from the encrypted container
  3. Decrypts the container to retrieve:
    • Original file extension
    • File contents
  4. 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


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)

Uploaded Source

Built Distribution

volkoff-0.1.45-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

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

Hashes for volkoff-0.1.45.tar.gz
Algorithm Hash digest
SHA256 ba5f072e21a06a6f4f47b1097ee9e4977890bd432f4678280336621fc3440fba
MD5 8e9ebd960773484774e9548c1f1a0d29
BLAKE2b-256 c1cc74cd5196a06cf0b380c7d3b012d132794b901c163dd0caa704ba66420054

See more details on using hashes here.

File details

Details for the file volkoff-0.1.45-py3-none-any.whl.

File metadata

File hashes

Hashes for volkoff-0.1.45-py3-none-any.whl
Algorithm Hash digest
SHA256 cd78822e0e7ddc9d83fd040cec06b8e3fe93d8b6f14a5eee11df9a024b030f65
MD5 b7a57319a64770c0fa57570b6a1b343a
BLAKE2b-256 6c94d2247e32ccced64084521b1e2b0733bf022f35cd98a1af8fd1a7dfa03451

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page