v0.325.0: share + escrow limiters reserve first; family sessions as fingerprints; samba renames apply; path guard widened; gates in a worktree
gates / gates (push) Successful in 45s
gates / gates (push) Successful in 45s
R-1111 reserveAttempt is the one limiter body (share password, escrow re-auth, dashboard sign-in). R-1112 family.json holds fingerprints; old files are converted at load. R-1113 the household's pass reuses its family session. R-1109 the samba compose carries the smb.conf hash. R-1110 TestNoBareDrivePathToPathHelpers. R-1114 shared_scripts.py resolves the felhom.eu sibling from a worktree. Each red-proved. Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -74,8 +74,8 @@ type Server struct {
|
||||
sessionsMu sync.RWMutex
|
||||
loginAttempts map[string]*loginAttempt
|
||||
loginAttemptMu sync.Mutex
|
||||
// passwordCompare replaces bcrypt's compare at the dashboard sign-in in tests (R-983: a slow compare makes the
|
||||
// parallel-try race measurable). nil → bcrypt.
|
||||
// passwordCompare replaces bcrypt's compare at the dashboard sign-in, the escrow re-auth and the share password in
|
||||
// tests (R-983, R-1111: a slow compare makes the parallel-try race measurable). nil → bcrypt.
|
||||
passwordCompare func(hash, pw []byte) error
|
||||
done chan struct{}
|
||||
closeOnce sync.Once
|
||||
|
||||
Reference in New Issue
Block a user