Skip to content

Commit 91db59b

Browse files
fix(service-bus): enable jsonwebtoken aws_lc_rs crypto backend
jsonwebtoken 10 requires rust_crypto or aws_lc_rs; tests were panicking without it. Aligns JWT crypto with the rest of the aws-lc stack. Made-with: Cursor
1 parent 5939801 commit 91db59b

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

Cargo.lock

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

crates/catalyst-service-bus/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ anyhow = "1.0"
4141
governor = "0.6"
4242

4343
# Authentication
44-
jsonwebtoken = "10.3"
44+
# jsonwebtoken 10+ requires an explicit crypto backend (see CryptoProvider in crate docs).
45+
jsonwebtoken = { version = "10.3", features = ["aws_lc_rs"] }
4546

4647
[dev-dependencies]
4748
tokio-test = "0.4"

docs/security-dependency-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This note tracks **high-severity Dependabot-class** dependency work (crypto, P2P
1616
- **`wasmtime`:** **`15``24.0.x`** (`catalyst-runtime-svm`; addresses multiple RUSTSEC items on older JIT/runtime lines).
1717
- **`keccak`:** lockfile **`0.1.5``0.1.6`** (RUSTSEC-2026-0012 / yanked 0.1.5).
1818
- **`catalyst-service-bus`:** removed unused **`reqwest` 0.11** and dev-dependency **`wiremock`** (shrinks the graph; `rustls-pemfile` / `instant` warnings tied to those paths drop when unused).
19-
- **`jsonwebtoken`:** **`9.x``10.3`** (`catalyst-service-bus` auth; addresses Dependabot-class JWT issues on older lines).
19+
- **`jsonwebtoken`:** **`9.x``10.3`** with feature **`aws_lc_rs`** (`catalyst-service-bus` auth; v10 requires an explicit crypto backend — see crate `CryptoProvider` docs).
2020

2121
## Code changes
2222

0 commit comments

Comments
 (0)