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:
2026-11-10 09:53:06 +07:00
parent 60ba8fed88
commit 95778d54e4
46 changed files with 2311 additions and 415 deletions

View File

@@ -39,8 +39,8 @@ tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
utoipa = { version = "4.2", features = ["axum_extras", "chrono"] }
uuid = { version = "=1.10.0", features = ["v4", "serde"] }
aes-gcm = "=0.9.4"
pbkdf2 = { version = "=0.10.1", features = ["simple"] }
aes-gcm = "=0.10.3"
argon2 = "=0.5.3"
hmac = "0.12"
tempfile = "3.12"
walkdir = "2.5"