fix: harden the vault before release
Require a private passphrase and loopback-or-token admin auth. New vaults use Argon2id; existing PBKDF2 vaults still open, and new snapshot metadata is encrypted. Wormhole tokens survive restart, offset uploads seal into the vault, and client-certificate uploads are real. Reject the command provider and keep Postgres passwords off the process arguments. Keep the interruptible canvas motion.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM node:22-bookworm AS web
|
||||
WORKDIR /build
|
||||
COPY web/package.json web/package-lock.json* ./
|
||||
RUN npm ci 2>/dev/null || npm install
|
||||
RUN npm ci
|
||||
COPY web/ ./
|
||||
RUN npm run build
|
||||
|
||||
@@ -13,7 +13,7 @@ COPY --from=web /build/dist ./web/dist
|
||||
RUN cargo build --release -p tessera-hub
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates postgresql-client && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=rust /build/target/release/tessera-hub /usr/local/bin/
|
||||
ENV TESSERA_LISTEN=0.0.0.0:8787
|
||||
ENV TESSERA_DATA_DIR=/data
|
||||
|
||||
Reference in New Issue
Block a user