Skip to content

feat(transit): implement AEAD context support in transit engine#104

Merged
allisson merged 1 commit intomainfrom
aead-context
Mar 5, 2026
Merged

feat(transit): implement AEAD context support in transit engine#104
allisson merged 1 commit intomainfrom
aead-context

Conversation

@allisson
Copy link
Owner

@allisson allisson commented Mar 5, 2026

Implemented Authenticated Encryption with Associated Data (AEAD) context to prevent ciphertext substitution attacks.

Changes:

  • Updated TransitKeyUseCase interface and implementation to support optional context parameter.
  • Updated transit encryption and decryption ciphers to utilize context as AAD.
  • Enhanced EncryptRequest and DecryptRequest DTOs with an optional base64-encoded context field.
  • Updated CryptoHandler to handle context decoding and passing to the usecase layer.
  • Added comprehensive unit tests for AEAD context in usecase and HTTP layers.
  • Expanded integration tests to include AEAD context scenarios for PostgreSQL and MySQL.
  • Updated OpenAPI specification and Transit Engine documentation with AEAD context details and examples.
  • Archived the implementation track in the conductor directory.

Implemented Authenticated Encryption with Associated Data (AEAD) context
to prevent ciphertext substitution attacks.

Changes:
- Updated TransitKeyUseCase interface and implementation to support optional context parameter.
- Updated transit encryption and decryption ciphers to utilize context as AAD.
- Enhanced EncryptRequest and DecryptRequest DTOs with an optional base64-encoded context field.
- Updated CryptoHandler to handle context decoding and passing to the usecase layer.
- Added comprehensive unit tests for AEAD context in usecase and HTTP layers.
- Expanded integration tests to include AEAD context scenarios for PostgreSQL and MySQL.
- Updated OpenAPI specification and Transit Engine documentation with AEAD context details and examples.
- Archived the implementation track in the conductor directory.
@allisson allisson merged commit e3018fe into main Mar 5, 2026
3 checks passed
@allisson allisson deleted the aead-context branch March 5, 2026 14:09
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.

1 participant