Skip to content

Conversation

@masv3971
Copy link
Collaborator

No description provided.

@masv3971 masv3971 marked this pull request as draft December 16, 2025 13:37
masv3971 and others added 10 commits December 16, 2025 17:11
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>
@masv3971 masv3971 marked this pull request as ready for review December 17, 2025 13:44
@masv3971 masv3971 requested a review from Copilot December 17, 2025 13:44
Copy link
Contributor

Copilot AI left a 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.

@masv3971 masv3971 merged commit f7be67e into main Dec 18, 2025
2 checks passed
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