feat: upgrade protect-ffi to 0.23.0 #18
prisma-next-e2e.yml
on: pull_request
Run Prisma Next E2E
39s
Annotations
8 errors
|
Run Prisma Next E2E
Process completed with exit code 1.
|
|
test/e2e/str-range.e2e.test.ts > EncryptedString orderAndRange e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/str-range.e2e.test.ts#L54
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbL;V>p)HrECxPBT>N2^9BdRD30T*WCkTfmNe2$%NMDZXc9ZxIY7Z*8;ly&XgM7%_)Usznp=M|fy5w=fMz2}S5A6dDfN+x2N*BKTEriD+{Q((A>-L3U_0xezy", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbL;V>p)HrECxPBT>N2^9BdR9bEks3&<jIf^SpT^}123rkCZJ#L;n%D^c#q`GUkCj(}z(NmovKTq*UDiU$}k#ahH4dECZDuOZ{vBw#!1puh", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e5e2354eeae8cd68aa6a97ae10531f5de2245a578a19e5a354356f14deb6b696210a1e5104094470335551f3272d36711f08197cc0b84f582ac42367de9c26b5aa5ffe596fb047fb06b9e98e48"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/str-range.e2e.test.ts:54:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbL;V>p)HrECxPBT>N2^9BdRD30T*WCkTfmNe2$%NMDZXc9ZxIY7Z*8;ly&XgM7%_)Usznp=M|fy5w=fMz2}S5A6dDfN+x2N*BKTEriD+{Q((A>-L3U_0xezy", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbL;V>p)HrECxPBT>N2^9BdR9bEks3&<jIf^SpT^}123rkCZJ#L;n%D^c#q`GUkCj(}z(NmovKTq*UDiU$}k#ahH4dECZDuOZ{vBw#!1puh", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e5e2354eeae8cd68aa6a97ae10531f5de2245a578a19e5a354356f14deb6b696210a1e5104094470335551f3272d36711f08197cc0b84f582ac42367de9c26b5aa5ffe596fb047fb06b9e98e48"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 860, severity: 'ERROR', code: 'P0001'
|
|
test/e2e/num.e2e.test.ts > EncryptedDouble e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/num.e2e.test.ts#L59
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbJyrI>?F6;et&bC;6On^wBSBJw@67_G-;?ocP6KWZqkFJl&HW}F=rVMgpsW5u%=wBRwsAkSV>iK_zBu9kNY=gV(<Xpc7~oT_=#pLJBFdKjDQMxej", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbJyrI>?F6;et&bC;6On^wBS7qpS2R(fMxUCQKbI%WyB0pfb6mdkj=#30XJQi-bq)2^0x5a-KpduWe0C7h~x)1P%zrFs~f>qel!", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4320e401271cbf038bd2d29924fcabdd6604446b2449840bb98748c08"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/num.e2e.test.ts:59:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbJyrI>?F6;et&bC;6On^wBSBJw@67_G-;?ocP6KWZqkFJl&HW}F=rVMgpsW5u%=wBRwsAkSV>iK_zBu9kNY=gV(<Xpc7~oT_=#pLJBFdKjDQMxej", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbJyrI>?F6;et&bC;6On^wBS7qpS2R(fMxUCQKbI%WyB0pfb6mdkj=#30XJQi-bq)2^0x5a-KpduWe0C7h~x)1P%zrFs~f>qel!", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4320e401271cbf038bd2d29924fcabdd6604446b2449840bb98748c08"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 748, severity: 'ERROR', code: 'P0001', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'PL/pgSQL function eql_v2._encrypted_check_c(jsonb) line 6 at RAISE\nSQL function "check_encrypted" statement
|
|
test/e2e/mixed.e2e.test.ts > Mixed-codec e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/mixed.e2e.test.ts#L158
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbKAYk?y~A@+J<gc$NY-R>I1B+VBfzUaC5Ej5Na%%C?*DPj8R4GYDXagMi==ELgW1CWCZY{Ve{i$LHw1Ak&coJ>OW_-8<8-%K>O5OQJq0GH=65-r`Jzy", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbKAYk?y~A@+J<gc$NY-R>I18RxUDq^F<j5YXaN#1P#?X)F~X@p1gq5_iNP|BFE2I0JuTL7YrN^!R5$XWvXTw-9n+`T&>bF%m7^puh", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4320e3f5c7c5fe7f9efb5af729aa3cfb28fdfc10923e7128f1eea7f5c4dbf3e93f2b4ad74d710d029835ca7b0"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/mixed.e2e.test.ts:158:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbKAYk?y~A@+J<gc$NY-R>I1B+VBfzUaC5Ej5Na%%C?*DPj8R4GYDXagMi==ELgW1CWCZY{Ve{i$LHw1Ak&coJ>OW_-8<8-%K>O5OQJq0GH=65-r`Jzy", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbKAYk?y~A@+J<gc$NY-R>I18RxUDq^F<j5YXaN#1P#?X)F~X@p1gq5_iNP|BFE2I0JuTL7YrN^!R5$XWvXTw-9n+`T&>bF%m7^puh", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4320e3f5c7c5fe7f9efb5af729aa3cfb28fdfc10923e7128f1eea7f5c4dbf3e93f2b4ad74d710d029835ca7b0"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 786, severity: 'ERROR', code: 'P0001', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'PL/pgSQL function eql_v2._enc
|
|
test/e2e/json.e2e.test.ts > EncryptedJson e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/json.e2e.test.ts#L85
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbK1<OiO<;KaCpq*?`yS)(7sITE*~V(Uh|L&h^xx}HsFiH7Kv;-2%}4sTSG|2M>ipr7I{c^@jagvpUcs7I-l0;<oc6yAvL_kqM9+XY<a1OFQ%8KA|`$&#~fftGZ{h`-sWaH1~8r9DDNpuh", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbK1<OiO<;KaCpq*?`yS)(7s7ONK!g$9g<V7P`2o48~-+`k!rN|%GgAln68<^%s5BN?E@(8-dsZh@9`#E8GysBoe##-%+%N1(s", "s": "80b8223df37617cca0567badbcb3ddc5", "hm": "b428379bda64a938968eb748c0596cc9"}, {"a": false, "c": "mBbK1<OiO<;KaCpq*?`yS)(7s8pfqE=bykJq7^EaL>k}vv*j8MAcHxSLoiRoAln68<^%s5BN?E@(8-dsZh@9`#E8GysBoe##-%+%N1(s", "s": "f7dbace7fb1b80e8987e37a6791834b4", "oc": "5285bee6e5e2354eeae8cd68aa6bcaf37891199e0c0db42636456568f694946b61d0c4b3b27d91624259f3b3b687891f7f152a4cd879649103"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/json.e2e.test.ts:85:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbK1<OiO<;KaCpq*?`yS)(7sITE*~V(Uh|L&h^xx}HsFiH7Kv;-2%}4sTSG|2M>ipr7I{c^@jagvpUcs7I-l0;<oc6yAvL_kqM9+XY<a1OFQ%8KA|`$&#~fftGZ{h`-sWaH1~8r9DDNpuh", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbK1<OiO<;KaCpq*?`yS)(7s7ONK!g$9g<V7P`2o48~-+`k!rN|%GgAln68<^%s5BN?E@(8-dsZh@9`#E8GysBoe##-%+%N1(s", "s": "80b8223df37617cca0567badbcb3ddc5", "hm": "b428379bda64a938968eb748c0596cc9"}, {"a": false, "c": "mBbK1<OiO<;KaCpq*?`yS)(7s8pfqE=bykJq7^EaL>k}vv*j8MAcHxSLoiRoAln68<^%s5BN?E@(8-dsZh@9`#E8GysBoe##-%+%N1(s", "s": "f7dbace7fb1b80e8987e37a6791834b4", "oc": "5285bee6e5e2354eeae8cd68aa6bcaf37891199e0c0db42636456568f694946b61d0c4b3b27d91624259f3b3b687891f7f152a4cd879649103"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/exe
|
|
test/e2e/date.e2e.test.ts > EncryptedDate e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/date.e2e.test.ts#L52
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbLm)f#A#&FaPKgt>KLV02`}BaBlWUo@a5@rg_t;&xXaoH9iN`^E>_S(XUZLpMmVSYrb6#2{6un)?a(R&{#Hd6@xIoHvt6z#z1Ij#I67cFivlpY))>", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbLm)f#A#&FaPKgt>KLV02`}7_jh*$PI)yC*eqV$f)_Au5x4tAF^jZuEZc!sG9o;_*Qj#%6XXqQ=B)GNx&eqe2!DCcXrJ$5ufy+zy", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4318eed350e99672af5b2c742660cb61368009dba1a6d920fdd59324924ec539fcc8c1eae"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/date.e2e.test.ts:52:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbLm)f#A#&FaPKgt>KLV02`}BaBlWUo@a5@rg_t;&xXaoH9iN`^E>_S(XUZLpMmVSYrb6#2{6un)?a(R&{#Hd6@xIoHvt6z#z1Ij#I67cFivlpY))>", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbLm)f#A#&FaPKgt>KLV02`}7_jh*$PI)yC*eqV$f)_Au5x4tAF^jZuEZc!sG9o;_*Qj#%6XXqQ=B)GNx&eqe2!DCcXrJ$5ufy+zy", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4318eed350e99672af5b2c742660cb61368009dba1a6d920fdd59324924ec539fcc8c1eae"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 767, severity: 'ERROR', code: 'P0001', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'PL/pgSQL function eql_v2._encrypted_check_c(jsonb) line 6 at RAISE\nS
|
|
test/e2e/bool.e2e.test.ts > EncryptedBoolean e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/bool.e2e.test.ts#L52
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbJac?s-MZwYhSHfq_gT^NDHBO|}*d#Hd9?A|vkWi+@`;dQMF`@@o=%Z~87TMcW3pJw&t#31OLPsU4&kydnC(ioq6rzQM)%?ec~lhx3rO;zpO3&o(o", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbJac?s-MZwYhSHfq_gT^NDH7&$P!Lm*|ncyG#~k~_OH?*p^*rAUX0)5IX?oKMC}i;-4zTGAMwd#5G*dd&(|CzI9CrA<}s+zZ8^zy", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4318d00ef5ad315274c35e5990c7bdad75e5882038643bd75133d713b02ad0235fbfe3066"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/bool.e2e.test.ts:52:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbJac?s-MZwYhSHfq_gT^NDHBO|}*d#Hd9?A|vkWi+@`;dQMF`@@o=%Z~87TMcW3pJw&t#31OLPsU4&kydnC(ioq6rzQM)%?ec~lhx3rO;zpO3&o(o", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbJac?s-MZwYhSHfq_gT^NDH7&$P!Lm*|ncyG#~k~_OH?*p^*rAUX0)5IX?oKMC}i;-4zTGAMwd#5G*dd&(|CzI9CrA<}s+zZ8^zy", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4318d00ef5ad315274c35e5990c7bdad75e5882038643bd75133d713b02ad0235fbfe3066"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 767, severity: 'ERROR', code: 'P0001', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: 'PL/pgSQL function eql_v2._encrypted_check_c(jsonb) line 6 at RAISE\nS
|
|
test/e2e/bigint.e2e.test.ts > EncryptedBigInt e2e (live PG + EQL + ZeroKMS):
examples/prisma/test/e2e/bigint.e2e.test.ts#L60
SqlQueryError: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbJi`}pFmdZ>xym}B9y*$-~SCHpQy>4G`%H>X(2<Gr5bZ5yW!Q74%rfMNGxG}h&ldmsSQ!TH1>Xp-79fj#(9NOgqkt@;kaSnZtFNG}QEq*sj_8Ofnspuh", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbJi`}pFmdZ>xym}B9y*$-~S8esi4vS?chF_uF1DTRlTlZn$`pEC?Uspz}JAZU`>Gl4z$QAl-!>#h0@!dUH`)<`c2;-puN8yU%=T%f=", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4318d00ef5ad315274c3434e4c2df20ff53e221083a8878a166f5d3444c1adf6e1bbfe3a517eeb0f1b7a0b240b8c7790fd9f78d06"}]}
❯ normalizePgError ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/normalize-error.ts:206:12
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:108:13
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
❯ test/e2e/bigint.e2e.test.ts:60:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { kind: 'sql_query', sqlState: 'P0001', constraint: undefined, table: undefined, detail: undefined }
Caused by: Caused by: error: Encrypted column missing ciphertext (c) field: {"i": {"c": "preferences", "t": "users"}, "k": "sv", "v": 2, "sv": [{"a": false, "c": "mBbJi`}pFmdZ>xym}B9y*$-~SCHpQy>4G`%H>X(2<Gr5bZ5yW!Q74%rfMNGxG}h&ldmsSQ!TH1>Xp-79fj#(9NOgqkt@;kaSnZtFNG}QEq*sj_8Ofnspuh", "s": "b15c7f75fc1b40addaf50ec4efb44e5b", "hm": "493ae8e724a74f040cc4adb41660a433"}, {"a": false, "c": "mBbJi`}pFmdZ>xym}B9y*$-~S8esi4vS?chF_uF1DTRlTlZn$`pEC?Uspz}JAZU`>Gl4z$QAl-!>#h0@!dUH`)<`c2;-puN8yU%=T%f=", "s": "2ab59935aba25c794a341bc62bad9a6e", "oc": "5285bee6e4318d00ef5ad315274c3434e4c2df20ff53e221083a8878a166f5d3444c1adf6e1bbfe3a517eeb0f1b7a0b240b8c7790fd9f78d06"}]}
❯ ../../node_modules/.pnpm/pg@8.20.0/node_modules/pg/lib/client.js:631:17
❯ PostgresPoolDriverImpl.executeBuffered ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:173:20
❯ PostgresPoolDriverImpl.execute ../../node_modules/.pnpm/@prisma-next+driver-postgres@0.8.0/node_modules/@prisma-next/driver-postgres/src/postgres-driver.ts:104:24
❯ iterator ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/run-with-middleware.ts:97:24
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-runtime@0.8.0/node_modules/@prisma-next/sql-runtime/src/sql-runtime.ts:391:26
❯ generator ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection-runtime.ts:181:22
❯ ../../node_modules/.pnpm/@prisma-next+framework-components@0.8.0/node_modules/@prisma-next/framework-components/src/execution/async-iterable-result.ts:55:24
❯ Collection.create ../../node_modules/.pnpm/@prisma-next+sql-orm-client@0.8.0/node_modules/@prisma-next/sql-orm-client/src/collection.ts:798:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { length: 804, severity: 'ERROR', code: 'P0001', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, w
|