Skip to content

Commit 5103ece

Browse files
authored
Merge pull request #382 from cipherstash/proxy-2.1.24-alpha.1
fix(deps): bump cipherstash-client to 0.34.0-alpha.4
2 parents 70a5884 + 82d7104 commit 5103ece

File tree

16 files changed

+772
-606
lines changed

16 files changed

+772
-606
lines changed

Cargo.lock

Lines changed: 636 additions & 219 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ debug = true
4343

4444
[workspace.dependencies]
4545
sqltk = { version = "0.10.0" }
46-
cipherstash-client = { version = "0.33.2" }
47-
cts-common = { version = "0.4.1" }
46+
cipherstash-client = { version = "0.34.0-alpha.4" }
47+
cts-common = { version = "0.34.0-alpha.4" }
4848

4949
thiserror = "2.0.9"
5050
tokio = { version = "1.44.2", features = ["full"] }

DEVELOPMENT.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -501,29 +501,14 @@ Certificates are generated by `mkcert`, and live in `tests/tls/`.
501501

502502
#### Configuration: development endpoints
503503

504+
ZeroKMS and CTS host endpoints can be configured for local development using environment variables.
504505

505-
ZeroKMS and CTS host endpoints can be configured for local development.
506+
These are read directly by `cipherstash-client` and do not require proxy configuration:
506507

507-
Env variables are `CS_DEVELOPMENT__ZEROKMS_HOST` and `CS_DEVELOPMENT__CTS_HOST`.
508-
509-
510-
```toml
511-
512-
[development]
513-
# ZeroKMS host
514-
# Optional
515-
# Defaults to CipherStash Production ZeroKMS host
516-
# Env: CS_DEVELOPMENT__ZEROKMS_HOST
517-
zerokms_host = "1.1.1.1"
518-
519-
520-
# CTS host
521-
# Optional
522-
# Defaults to CipherStash Production CTS host
523-
# Env: CS_DEVELOPMENT__CTS_HOST
524-
cts_host = "1.1.1.1"
525-
526-
```
508+
| Variable | Description |
509+
|---|---|
510+
| `CS_ZEROKMS_HOST` | Override ZeroKMS endpoint (default: resolved from JWT `services` claim) |
511+
| `CS_CTS_HOST` | Override CTS auth endpoint (default: resolved from workspace CRN region) |
527512

528513

529514

cipherstash-proxy-example.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ workspace_crn = "workspace_crn"
2424
client_access_key = "client_access_key"
2525

2626
[encrypt]
27-
default_keyset_id = "default_keyset_id"
28-
client_id = "client_id"
27+
default_keyset_id = "00000000-0000-0000-0000-000000000000"
28+
client_id = "00000000-0000-0000-0000-000000000000"
2929
client_key = "client_key"

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ services:
4343
- CS_PROMETHEUS__ENABLED=${CS_PROMETHEUS__ENABLED:-true}
4444
- CS_DATABASE__INSTALL_EQL=true # install EQL into the PostgreSQL database
4545
- CS_DATABASE__INSTALL_EXAMPLE_SCHEMA=true # install example schema into the PostgreSQL database
46+
- CS_CTS_HOST=${CS_CTS_HOST:-}
47+
- CS_ZEROKMS_HOST=${CS_ZEROKMS_HOST:-}
4648
networks:
4749
- cipherstash
4850

packages/cipherstash-proxy-integration/src/generate.rs

Lines changed: 0 additions & 261 deletions
This file was deleted.

packages/cipherstash-proxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ tokio-util = { version = "0.7.13", features = ["rt"] }
5555
tracing = { workspace = true }
5656
tracing-subscriber = { workspace = true }
5757
uuid = { version = "1.11.0", features = ["serde", "v4"] }
58+
vitaminc-protected = "0.1.0-pre4.2"
5859
x509-parser = "0.17.0"
59-
vitaminc-protected = "0.1.0-pre2"
6060

6161

6262
[dev-dependencies]

0 commit comments

Comments
 (0)