Skip to content

Commit 913dbbb

Browse files
authored
Merge pull request #326 from cipherstash/feat/update-ffi
feat: delegate credential loading to protect-ffi
2 parents 03b8867 + b0e56b8 commit 913dbbb

File tree

20 files changed

+167
-7582
lines changed

20 files changed

+167
-7582
lines changed

.changeset/upgrade-protect-ffi.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@cipherstash/protect": minor
3+
"@cipherstash/stack": minor
4+
"@cipherstash/schema": minor
5+
"@cipherstash/drizzle": patch
6+
---
7+
8+
Upgrade protect-ffi to 0.21.0 and enable array_index_mode for searchable JSON
9+
10+
- Upgrade `@cipherstash/protect-ffi` to 0.21.0 across all packages
11+
- Enable `array_index_mode: 'all'` on STE vec indexes so JSON array operations
12+
(jsonb_array_elements, jsonb_array_length, array containment) work correctly
13+
- Delegate credential resolution entirely to protect-ffi's `withEnvCredentials`
14+
- Download latest EQL at build/runtime instead of bundling hardcoded SQL files

local/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
FROM postgres:latest
22

3+
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && rm -rf /var/lib/apt/lists/*
4+
5+
# Download latest EQL install script
6+
RUN curl -sLo /tmp/cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-encrypt.sql
7+
38
# Copy the custom entrypoint script and SQL files
49
COPY postgres-entrypoint.sh /usr/local/bin/postgres-entrypoint.sh
5-
COPY cipherstash-encrypt-2-1-8.sql /tmp/cipherstash-encrypt-2-1-8.sql
610
COPY create-ci-table.sql /tmp/create-ci-table.sql
711

812
# Make the entrypoint script executable

0 commit comments

Comments
 (0)