We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b6e71 commit da3be2aCopy full SHA for da3be2a
packages/cipherstash-proxy-integration/src/common.rs
@@ -306,6 +306,9 @@ pub async fn insert_jsonb() -> Value {
306
307
insert(&sql, &[&id, &encrypted_jsonb]).await;
308
309
+ // Verify encryption actually occurred
310
+ assert_encrypted_jsonb(id, &encrypted_jsonb).await;
311
+
312
encrypted_jsonb
313
}
314
@@ -321,6 +324,9 @@ pub async fn insert_jsonb_for_search() {
321
324
322
325
let sql = "INSERT INTO encrypted (id, encrypted_jsonb) VALUES ($1, $2)";
323
326
insert(sql, &[&id, &encrypted_jsonb]).await;
327
328
+ // Verify encryption actually occurred for each row
329
330
331
332
0 commit comments