mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
1.3 KiB
1.3 KiB
Memory Update (2026-02-25)
Security Checklist Progress
- Item 6 (
Auth, lock/unlock, and access-control hardening) moved fromNot StartedtoIn Progress. - Added evidence links in
docs/security_readiness_checklist.mdand created a dedicated review doc.
Item 6 Work Completed This Pass
- Added locked-state access control for protected HTTP API routes in
src/seedpass/api.py.- Protected routes now return
423with"Vault is locked"when lock flags are active.
- Protected routes now return
- Added explicit HTTP unlock route:
POST /api/v1/vault/unlockusingX-SeedPass-Password.
- Added auth/access regression tests in
src/tests/test_api_new_endpoints.py:test_vault_unlock_endpointtest_entry_endpoints_blocked_when_vault_lockedtest_generate_password_blocked_when_vault_locked
Validation
- Executed:
src/tests/test_api_new_endpoints.pysrc/tests/test_api.pysrc/tests/test_vault_lock_flag.pysrc/tests/test_inactivity_lock.pysrc/tests/test_unlock_sync.py
- Result:
62 passed.
Next Item 6 Steps
- Decide whether non-sensitive API routes (config/fingerprint/relays) should also require unlocked state.
- Add timeout-to-lock to unlock route E2E test path.
- Evaluate brute-force resistance/rate-limit behavior specific to unlock attempts.