fix(secrets): recover encrypted tokens on all backends

This commit is contained in:
2026-07-22 17:31:39 +00:00
committed by claude
parent 28953bfe0b
commit 854f6b5696
25 changed files with 517 additions and 57 deletions
+3
View File
@@ -399,6 +399,9 @@ fi
chown -R 0:0 /root 2>/dev/null || true
mkdir -p /etc/dropbear /run
# Keep restart-recovery key material memory-backed, separate from both the
# agent rootfs and the infra VM's persistent registry volume.
mount -t tmpfs -o mode=0755 tmpfs /run 2>/dev/null || true
# -R: generate host keys on demand. -E: log auth failures to stderr,
# captured in the host-side console.log for debugging.
/bb-dropbear -R -E -p 22 &