Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Releases: The-Krew/LEA

v3.2.0

01 Jul 20:14
v3.2.0
4552e03

Choose a tag to compare

✨ Major Features & Enhancements

  • [Security] Add CMAC authentication support to LEA (#28)
    • Integrated CMAC (Cipher-based Message Authentication Code) for data integrity and authenticity.
    • CMAC is now calculated and verified on all encrypted/decrypted data.
    • Documentation and code updated to reflect authentication support.

See the full diff: v3.1.0...v3.2.0
Note: This changelog may be incomplete; see all closed issues and PRs for more.

v3.1.0

30 Jun 11:03
v3.1.0
196965c

Choose a tag to compare

2025-06-30

LEA v3.1.0 — Windows build and auto generation of IV

Full Changelog: v3.0.0...v3.1.0

🚀 Notable Changes

  • Windows Build Support

    • Official Windows-compatible build now available, expanding platform support. #30 #31
  • Automatic IV Generation

    • The Initialization Vector (IV) is now generated automatically for each encryption operation, improving security and reducing user error. #29
    • Expanded metadata struct: version, mode, and IV fields are now included for better file identification and future compatibility.
  • Decryption Output Improvements

    • Improved handling for writing and stripping padding on decryption, ensuring output files exactly match their original sizes.
    • Refactored binary stream writing logic to be more robust and avoid panics when handling the last block of data.
  • Error Handling & Reporting

    • Enhanced error reporting and panic handling, especially for out-of-bounds slice accesses during block conversion and file writing.
    • Improved error messages and logging during encryption and decryption operations.
  • Documentation & Codebase

    • Added documentation and comments to clarify cryptographic block handling and file I/O.
    • Refactored internal APIs to use []uint32 and [4]uint32 more safely and idiomatically.
    • More robust hooks for progress and UI updates.

🐞 Bug Fixes

  • Fixed a runtime panic caused by out-of-range slice access when converting [4]uint32 to []byte.
  • Corrected logic for writing only the necessary number of bytes on the last decrypted block, preventing file size mismatches and padding leaks.

For all commits and details, see the complete diff.

v3.0.0

23 Jun 15:58
v3.0.0
281c92c

Choose a tag to compare

2025-06-23

LEA v3.0.0 — Major Rewrite and CLI Overhaul

🚀 What's New

  • New Key Management System

    • Introduces a new armored key file format (key128.lea, key192.lea, key256.lea) with embedded metadata and SHA-256 digests.
    • Adds lea keygen CLI command for secure, interactive key generation.
    • Encryption/decryption now require the --key=<file> flag (deprecated: -ek, -es).
    • Key and seed are now validated and parsed for integrity.
  • Modernized CLI and Help System

    • Fully reworked CLI flags:
      • Operations: -e/--encrypt, -d/--decrypt
      • Key: --key=<file>
      • Modes: --mode=ecb|cbc|cfb|ofb|ctr (CTR added; CBC is now default)
      • Recursion: -r/--recursive
      • Verbosity: -v/--verbose
      • Overwrite/Wipe: --iter=N
      • Help: -h/--help
      • Version: --version
    • Improved flag handling and help output.
    • -h and --version now function robustly and exit cleanly.
  • New Features & Modes

    • Adds CTR (Counter) mode support.
    • Secure multi-pass file wiping after encryption/decryption (DoD 5220.22-M style).
    • Progress bar and status display improvements.
  • Technical/Codebase Changes

    • Deprecated all usages of -ek/--external-key and -es/--external-seed.
    • Refactored and internalized key scheduling, fingerprinting, and digest verification.
    • Improved modularity: new packages for key generation, loading, verification.
    • Renamed and cleaned up internal state and argument handling.
    • Major refactor for safety, maintainability, and security best practices.
  • Documentation

    • Updated Readme.md with new usage examples, key management, and CLI changes.
    • Added detailed help messages and legal disclaimer (for authorized testing only).

⚠️ Breaking Changes

  • Old external key/seed file flags are no longer supported.
  • All scripts and automations must use the new --key syntax and keyfile format.
  • Custom seed files and legacy key handling are deprecated.

Full Changelog

v2.0.1

22 Jun 22:54
v2.0.1
bed02e3

Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

17 Jun 20:14
v2.0.0
4717d9c

Choose a tag to compare

What's Changed

Full Changelog: v1.6.1...v2.0.0

v1.6.1

15 Aug 10:19
7ca1d67

Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.6.1

v1.4.0 (CFB,OFB)

26 Jun 14:20
54b0416

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.4.0

v1.2.0

25 Jun 16:11
9c22f4c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

07 Jun 11:06
4f26e99

Choose a tag to compare

Full Changelog: v1.0.0...v1.1.0

v1.0.0

06 Jun 21:36
e62c4f8

Choose a tag to compare