Skip to content

Persist VC issuance and verification history - #84

Open
MYRhouma wants to merge 48 commits into
mainfrom
yassine-refactor
Open

Persist VC issuance and verification history#84
MYRhouma wants to merge 48 commits into
mainfrom
yassine-refactor

Conversation

@MYRhouma

Copy link
Copy Markdown
Contributor

What changed

The VC manager now keeps a PostgreSQL audit trail for the credential lifecycle.

  • Store every issued credential, including the compact JWS and original issuance request.
  • Store every verification request together with the response returned by the manager.
  • Keep failed and malformed verification attempts in the audit log as well.
  • Add admin endpoints to inspect issued credentials and verification history.
  • Create the required tables automatically when the service starts with DVA_VC_MANAGER_DB_URL configured.

Checks

  • uv run pytest (38 passed)
  • uv run ruff check .
  • Tested the audit repository and FastAPI flow against a real PostgreSQL 17 container.

Notes

The service still uses in-memory stores when no database URL is configured, which keeps local development and the existing tests working. Deployed environments should set DVA_VC_MANAGER_DB_URL.

MYRhouma and others added 28 commits July 29, 2026 22:27
Expose provider- and consumer-side processing on ports 5007 and 5008
respectively.
BREAKING CHANGE: removes ACA-Py entirely in an effort to switch VC
standards and the entire credential handling system
@MYRhouma
MYRhouma requested a review from bzp99 August 10, 2026 17:45
@MYRhouma
MYRhouma marked this pull request as ready for review August 10, 2026 17:47
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.

2 participants