You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: move EQL encryption logic to cipherstash-client
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
Copy file name to clipboardExpand all lines: packages/cipherstash-proxy/src/error.rs
+73-1Lines changed: 73 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@ pub enum EncryptError {
268
268
269
269
/// This should in practice be unreachable
270
270
#[error("Missing encrypt configuration for column type `{plaintext_type}`. For help visit {}#encrypt-missing-encrypt-configuration",ERROR_DOC_BASE_URL)]
0 commit comments