WIP: Draft: server: private SMTP configuration and security hardening #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/server-config-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add private SMTP/server configuration for native installations using --config or CC_CONFIG_FILE, with environment overrides and a strict JSON allowlist. Docker Compose reads a private server.env and pins the verified server 0.1.11 image; production SMTP remains a Kubernetes Secret reference.
Harden database/SMTP diagnostics against credential-bearing errors, prevent timestamp-overflow failures, and close WebSocket sessions with transient 1011 when validity cannot be checked. No protocol or migration changes. Server 0.1.11, chart 0.1.13.
Validation: 176 Rust tests with required disposable PostgreSQL; 13 Python/Helm tests; Clippy -D warnings; current RustSec check passed. Both linux/amd64 and linux/arm64 passed readiness, version/source provenance, API authentication and absence of website routes. Disposable Compose verification passed 13 checks including SMTP punctuation handling, HTTPS, backup/restore and volume persistence.
Job1267 passed and published runtime commit960d0b6 to registry.evsikov.net/publics/consolecrypt/server@sha256:7387d10a7e6e62d161e0154ce064a6ebe15999c338f33bb5df80691aca745301. The final deploy-only commit0b419e7 updates examples to this immutable image. Production Helm15 is healthy; existing SMTP, strict proofs and sharing flags were preserved, and PostgreSQL was not restarted.
Image audit: no embedded secrets found. Pinned Debian12 Distroless still has45 OS advisory entries (1high;7 with upstream fixes). The high OpenSSL DTLS issue has no observed application path: TLS uses Rustls and no DTLS. This residual dependency risk remains documented.
Keep draft while Client Dev assembles client0.2.1 and integrates the three scoped commits.
added 1 commit
0b419e79- chore(server): pin audited self-host image 0.1.11Compare with previous version
changed the description