feat(cli): vault session bootstrap with per-user flock + no-coredump

This commit is contained in:
Viktor Barzin 2026-06-24 10:18:36 +00:00
parent 5bae2a3907
commit 2dd12fc6be
2 changed files with 60 additions and 0 deletions

View file

@ -190,3 +190,9 @@ func TestOpLogLineHasNoSecretOrItem(t *testing.T) {
}
}
}
func TestLockPath(t *testing.T) {
if got := vaultLockPath("1001"); got != "/run/user/1001/homelab-vault.lock" {
t.Fatalf("vaultLockPath = %q", got)
}
}