Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
# condition; revisit them whenever dependencies or the toolchain change.
[advisories]
ignore = [
# rsa (Marvin attack). Listed in Cargo.lock only because sqlx-macros-core
# declares optional MySQL support; it is never compiled
# (`cargo tree -i rsa` prints nothing). Remove with the sqlx 0.9 upgrade.
"RUSTSEC-2023-0071",
# libsqlite3-sys bundles SQLite < 3.54 (stale page-cache bytes when an
# attacker-written database and -wal file are opened together). SQLite is
# only used for local development and tests, on files the service creates
# itself. The fix needs sqlx 0.9, which requires Rust 1.94; this workspace
# is pinned to Rust 1.93.1 to match SendBox. Remove when the toolchain moves.
# libsqlite3-sys bundles SQLite older than the fix (stale page-cache bytes
# when an attacker-written database and -wal file are opened together).
# The fix is libsqlite3-sys 0.39, but sqlx-sqlite 0.9.0 requires < 0.38, so
# 0.37 is the newest usable release. SQLite is only used for local
# development and tests, on files the service creates itself; production
# uses PostgreSQL. Remove when an sqlx release allows libsqlite3-sys 0.39.
"RUSTSEC-2026-0459",
]
20 changes: 20 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@ FLEET_AUTHORITY_ID=sendbox-fleet
# Path inside the container to the profile signer file; mount it with a
# compose override. Publication is refused while this is empty.
FLEET_PROFILE_TRUST=
# Path inside the container to the OIDC issuer file (docs/deployment.md).
# Empty: only service tokens from `sendbox-fleet admin token create` work.
FLEET_OIDC_CONFIG=
# Lifetime of tokens issued by POST /v1/tokens (default 12 h, max 7 d).
FLEET_TOKEN_TTL_SECONDS=43200
FLEET_TOKEN_MAX_TTL_SECONDS=604800
# Ed25519 key from `sendbox-fleet admin audit keygen` (file mode 0600).
FLEET_AUDIT_SIGNING_KEY=
# Directory for periodic signed audit heads; needs the signing key.
# Use /var/lib/sendbox-fleet/anchors to write to the compose volume.
FLEET_AUDIT_ANCHOR_DIR=
FLEET_AUDIT_ANCHOR_INTERVAL_SECONDS=3600
# Per-principal /v1 requests and per-peer failed sign-ins per minute (0 disables).
FLEET_RATE_LIMIT_PER_MINUTE=1200
FLEET_AUTH_FAILURES_PER_MINUTE=60
# Separate unauthenticated Prometheus listener, e.g. 0.0.0.0:9090. Empty disables.
FLEET_METRICS_BIND=
# false: refuse to start until `sendbox-fleet admin migrate` has run.
FLEET_MIGRATE=true
FLEET_LOG_MAX_BYTES=104857600

# Running the binary directly with SQLite (export these in your shell)
# FLEET_DATABASE_URL=sqlite://sendbox-fleet.db?mode=rwc
Expand Down
Loading