Auth: audit retention, incident runbook, consent copy, Stellar trust handshake#474
Open
BashMan11 wants to merge 1 commit into
Open
Auth: audit retention, incident runbook, consent copy, Stellar trust handshake#474BashMan11 wants to merge 1 commit into
BashMan11 wants to merge 1 commit into
Conversation
…Match-Inc#412: auth audit retention, incident runbook, consent copy, stellar service trust handshake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #409
Closes #410
Closes #411
Closes #412
Changes
#412 — Service-to-service trust handshake (API → Stellar)
apps/stellar-service/src/middleware/requireInternalSecret.ts: Express middleware usingtimingSafeEqualto verifyX-Internal-Secretheader on internal routes.apps/stellar-service/STELLAR_SERVICE_AUTH.md: documents the shared-secret mechanism, env vars, local dev setup, and future hardening path.apps/stellar-service/.env.examplewithSTELLAR_INTERNAL_SECRETplaceholder.#411 — Auth incident runbook
apps/api/AUTH_INCIDENT_RUNBOOK.md: covers broken login, missing verification emails, invalid sessions, compromised secrets, and demo-time account lockouts. Includes a quick-reference boundary table.#410 — Auth audit retention policy
apps/api/AUTH_AUDIT_RETENTION.md: maps current audit events to 30/90-day retention tiers, documents what is and is not logged, explains MVP tradeoffs, and describes the upgrade path.#409 — Consent and privacy messaging at account creation
apps/web/AUTH_CONSENT_COPY.md: canonical signup, verification, and privacy copy for web and mobile; documents intentional web/mobile differences and a copy-drift policy.apps/web/lib/authCopy.tswithsignupandverifysections ready for the signup form component.