Skip to content

Comments

Advanced Unit Tests for Encryption Module#110

Open
anuragShingare30 wants to merge 2 commits intoakave-ai:mainfrom
anuragShingare30:fix/unit-test-encryption-module
Open

Advanced Unit Tests for Encryption Module#110
anuragShingare30 wants to merge 2 commits intoakave-ai:mainfrom
anuragShingare30:fix/unit-test-encryption-module

Conversation

@anuragShingare30
Copy link

@anuragShingare30 anuragShingare30 commented Feb 6, 2026

Summary

This PR added advanced unit tests in Encryption Module covering various edge cases and scenarios

Key Highlights

  • Added 51 new encryption unit tests covering derive_key(), make_gcm_cipher(), encrypt(), decrypt(), round-trip encryption and error handling with 100% coverage
  • Removed deprecated default_backend parameter from cryptography calls
  • Made dev-setup.sh flexible with VENV_DIR and PYTHON_BIN environment variables for different virtual env names and Python versions
  • Cleaned up production code

Validation

  • All Encryption Module Unit tests pass!!!
image

fixes: #103
@d4v1d03

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.

CI: Unit Tests for Encryption Module

1 participant