Skip to content

Conversation

@freshtonic
Copy link
Contributor

Migrates EQL encryption and decryption operations from the proxy to the cipherstash-client library (v0.31.0). This consolidates encryption logic in a single location and reduces duplication between proxy and client.

Changes:

  • Remove local to_eql_encrypted() and helper functions from zerokms/mod.rs
  • Use encrypt_eql() and decrypt_eql() from cipherstash-client
  • Add From<cipherstash_client::eql::EncryptError> implementation for error conversion
  • Add ZeroKMS error variant to EncryptError enum
  • Update MissingEncryptConfiguration to use &'static str for plaintext_type

Acknowledgment

By submitting this pull request, I confirm that CipherStash can use, modify, copy, and redistribute this contribution, under the terms of CipherStash's choice.

Migrates EQL encryption and decryption operations from the proxy to the
cipherstash-client library (v0.31.0). This consolidates encryption logic
in a single location and reduces duplication between proxy and client.

Changes:
- Remove local to_eql_encrypted() and helper functions from zerokms/mod.rs
- Use encrypt_eql() and decrypt_eql() from cipherstash-client
- Add From<cipherstash_client::eql::EncryptError> implementation for error conversion
- Add ZeroKMS error variant to EncryptError enum
- Update MissingEncryptConfiguration to use &'static str for plaintext_type
@freshtonic freshtonic requested a review from tobyhede December 3, 2025 05:01
@freshtonic freshtonic merged commit b4bb9c3 into main Dec 3, 2025
2 checks passed
@freshtonic freshtonic deleted the refactor/move-remaining-eql-bits-to-cipherstash-client branch December 3, 2025 05:22
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.

3 participants