8 Commits
Author SHA1 Message Date
cgalo5758 0b28a9dc29 Remediate security audit findings
- Replace gorilla/csrf with net/http CrossOriginProtection
- Require valkey-password and add TLS options for session store
- End session at /logout and revoke refresh tokens
- Re-derive identity and roles from provider every five minutes
- Process each Stripe webhook event in its own Temporal workflow
- Give each outbox entry its own workflow with Temporal retries
- Guard against stale Stripe events with provider timestamps
- Derive transport security from base-url scheme
2026-09-09 13:25:43 -05:00
cgalo5758 88db730fcc Add dual licensing and SPDX headers
Introduce a commercial license option alongside AGPL-3.0-only, require a
CLA for contributors, and document the terms in COMMERCIAL.md and
NOTICE. Add a script to stamp SPDX headers on Go files and apply it
across the tree.
2026-09-06 02:29:42 -05:00
cgalo5758 ef79ea8a22 Gofmt drift cleanup across internal packages 2026-07-24 18:10:23 -05:00
cgalo5758 83b38498c8 Refactor CSRF secret handling to validate key length and improve error messaging 2025-04-29 03:34:01 -05:00
cgalo5758 1581fbca4b Refactor CORS and CSRF middleware to use options directly and remove default config functions 2025-04-29 03:19:47 -05:00
cgalo5758 7dbde25bcf Remove unnecessary comments 2025-04-29 02:45:56 -05:00
cgalo5758 b2ead348e5 Implement CSRF protection middleware with configurable secret and cookie options 2025-04-29 01:42:54 -05:00
cgalo5758 8cf7841f20 Add CSRF middleware implementation and update go.mod/go.sum for dependencies 2025-04-28 20:26:17 -05:00