-
Notifications
You must be signed in to change notification settings - Fork 11
Masv update credential proof #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…proof for wallets not using the latest spec.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements Token Status List credential proof functionality, transitioning the registry from a Merkle tree-based system to a Token Status List implementation per the draft-ietf-oauth-status-list specification. Key changes include:
- Replaces the Sparse Merkle Tree registry with a Token Status List system for credential revocation tracking
- Implements JWT and CWT token generation for status lists with automatic caching and refresh
- Adds gRPC mTLS support with client certificate fingerprint verification
- Introduces an admin GUI for managing credential statuses
Reviewed changes
Copilot reviewed 103 out of 241 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| proto/v1-registry.proto | Updates registry service to support Token Status List operations instead of Merkle tree |
| proto/v1-issuer.proto | Adds token status list section/index fields to credential response |
| pkg/tokenstatuslist/*.go | New package implementing Token Status List JWT/CWT generation per draft-ietf-oauth-status-list |
| pkg/grpchelpers/*.go | New package for gRPC server/client helpers with mTLS and fingerprint verification |
| pkg/openid4vci/*.go | Refactors proof verification to support multiple proof types with type-safe structures |
| pkg/pki/pki.go | Enhances key parsing to support EC and RSA formats beyond PKCS#8 |
| internal/registry/tokenstatuslistissuer/*.go | New service for issuing and caching Token Status List tokens |
| internal/registry/db/*.go | Migrates from SQLite/GORM to MongoDB for Token Status List storage |
| internal/registry/httpserver/*.go | Adds Token Status List endpoints and admin GUI with authentication |
| internal/registry/grpcserver/*.go | Implements Token Status List gRPC endpoints with mTLS support |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.