Skip to content

feat(python): share security state through Redis - #47

Merged
cport1 merged 2 commits into
mainfrom
feat/python-redis-state
Aug 23, 2026
Merged

cport1 merged 2 commits into
mainfrom
feat/python-redis-state

Conversation

@cport1

@cport1 cport1 commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • implement the shared Redis security-state contract for Python
  • cover PoW, token replay, Siteverify idempotency, rate limits, suspicion, fingerprint cardinality, and site-key rotation
  • use the same keys/TTLs and fail-closed behavior as Go and Node
  • add a two-replica black-box Redis conformance workflow for all three production images
  • update README, installation, Helm, and conformance documentation

Stack

Depends on #46, which depends on #45.

Validation

  • Python: 91/91 unit tests
  • live Python server: 12/12 API conformance checks
  • python3 -m py_compile server.py redis_state.py
  • multi-replica Docker/Redis matrix runs in CI (local Docker daemon unavailable)

@cport1
cport1 force-pushed the feat/node-redis-token branch from 69d4340 to 0d7ed82 Compare August 23, 2026 03:59
@cport1
cport1 changed the base branch from feat/node-redis-token to main August 23, 2026 04:03
@cport1
cport1 force-pushed the feat/python-redis-state branch from 0bf866d to 50dc0ab Compare August 23, 2026 04:04
@cport1
cport1 merged commit 5eb8903 into main Aug 23, 2026
14 checks passed
@cport1
cport1 deleted the feat/python-redis-state branch August 23, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant