Skip to content

feat: Add file encryption feature with password and RSA support#21

Merged
saimizi merged 2 commits intomainfrom
feature/add-encrypt-function
Dec 1, 2025
Merged

feat: Add file encryption feature with password and RSA support#21
saimizi merged 2 commits intomainfrom
feature/add-encrypt-function

Conversation

@saimizi
Copy link
Owner

@saimizi saimizi commented Dec 1, 2025

What's changed

  • Implement password-based encryption using AES-256-GCM with Argon2id key derivation
  • Implement RSA encryption with OAEP padding for public-key cryptography
  • Add encrypted container format (.jcze) with metadata serialization
  • Integrate encryption into compression workflow
  • Integrate decryption into decompression workflow
  • Add CLI flags: -e/--encrypt-password, --encrypt-key, --decrypt-key, --remove-encrypted
  • Add comprehensive property-based tests for encryption operations
  • Update documentation (README, SRS, SDD) with encryption feature details
  • Preserve encrypted files by default during decryption (use --remove-encrypted to remove)
  • Fix compilation errors and suppress dead code warnings for public API

@saimizi saimizi force-pushed the feature/add-encrypt-function branch from ebf4d74 to f036d90 Compare December 1, 2025 13:52
JSeimizu and others added 2 commits December 1, 2025 23:01
- Implement password-based encryption using AES-256-GCM with Argon2id key derivation
- Implement RSA encryption with OAEP padding for public-key cryptography
- Add encrypted container format (.jcze) with metadata serialization
- Integrate encryption into compression workflow
- Integrate decryption into decompression workflow
- Add CLI flags: -e/--encrypt-password, --encrypt-key, --decrypt-key, --remove-encrypted
- Add comprehensive property-based tests for encryption operations
- Update documentation (README, SRS, SDD) with encryption feature details
- Preserve encrypted files by default during decryption (use --remove-encrypted to remove)
- Fix compilation errors and suppress dead code warnings for public API

Closes encryption feature implementation
@saimizi saimizi force-pushed the feature/add-encrypt-function branch from f036d90 to 6f24fa3 Compare December 1, 2025 14:02
@saimizi saimizi merged commit 4ea5827 into main Dec 1, 2025
1 check passed
@saimizi saimizi deleted the feature/add-encrypt-function branch December 1, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants