Implement SQLite Auth Store And Migrations #5

Closed
opened 2026-04-26 15:22:28 -04:00 by dohertj2 · 2 comments
Owner

Source: $file
Milestone: $currentMilestone

Labels: area:auth, type:feature, priority:p0

Deliverables:

  • SQLite schema for schema_version, api_keys, and api_key_audit,
  • idempotent startup migrations,
  • newer-schema startup block,
  • key lookup and audit services.

Acceptance criteria:

  • empty DB initializes,
  • existing DB migrates,
  • newer DB version blocks startup,
  • revoked keys cannot authenticate.

Tests:

  • temp SQLite migration tests,
  • key lookup tests,
  • revoked key tests.
Source: $file Milestone: $currentMilestone Labels: `area:auth`, `type:feature`, `priority:p0` Deliverables: - SQLite schema for `schema_version`, `api_keys`, and `api_key_audit`, - idempotent startup migrations, - newer-schema startup block, - key lookup and audit services. Acceptance criteria: - empty DB initializes, - existing DB migrates, - newer DB version blocks startup, - revoked keys cannot authenticate. Tests: - temp SQLite migration tests, - key lookup tests, - revoked key tests.
dohertj2 added this to the gateway-auth milestone 2026-04-26 15:22:28 -04:00
dohertj2 added the area:authtype:featurepriority:p0 labels 2026-04-26 15:22:28 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:32 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:32 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:32 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
Author
Owner

Worker 2 is taking this issue.

Branch: agent-2/issue-5-implement-sqlite-auth-store-and-migrations
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-2

Worker 2 is taking this issue. Branch: agent-2/issue-5-implement-sqlite-auth-store-and-migrations Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-2
Author
Owner

Implemented and merged via PR #56: #56

Commit: ec1155d
Merge commit on main: 420a813967
Branch: agent-2/issue-5-implement-sqlite-auth-store-and-migrations

Verification:

  • dotnet build src\MxGateway.sln passed with 0 warnings and 0 errors.
  • dotnet test src\MxGateway.sln passed: 49 total tests.

Acceptance criteria verified: empty DB initialization, migrations, newer-schema startup block, API key lookup, revoked key behavior, and audit persistence are covered by focused tests.

Implemented and merged via PR #56: https://gitea.dohertylan.com/dohertj2/mxaccessgw/pulls/56 Commit: ec1155d Merge commit on main: 420a8139679113eef5691565db7bb824dac25863 Branch: agent-2/issue-5-implement-sqlite-auth-store-and-migrations Verification: - dotnet build src\\MxGateway.sln passed with 0 warnings and 0 errors. - dotnet test src\\MxGateway.sln passed: 49 total tests. Acceptance criteria verified: empty DB initialization, migrations, newer-schema startup block, API key lookup, revoked key behavior, and audit persistence are covered by focused tests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#5