Golf Membership
National Golf Association
John Doe
- Club
- Royal St. Andrews Links
- HCP Index
- 12.0
- Valid Until
- 2027-12-31
EUDIW Golf Credential
Golf membership and handicap as an EU-wide credential.
National golf associations already manage memberships and handicaps digitally, each in its own system. This project issues them as a credential into the EU Digital Identity Wallet. Golf courses and tournaments across the EU can verify it with the same standard protocols.
Overview
Associations issue the credential. Golf courses and tournaments verify it. Both are certified by a common trust infrastructure.
Issuance
Scan the Offer
The association shows a QR code. It links to the credential offer to initiate the OID4VCI procedure.
Issuance
Authorization
The wallet pushes its authorization request to the association (PAR), secured with PKCE and its DPoP key. The association then authenticates the golfer.
Issuance
Credential
The wallet trades the code for a DPoP-bound access token. It signs a proof of its key over a fresh nonce and receives the SD-JWT VC, bound to that key.
Issuance
Stored
The wallet keeps the signed credential with its seven disclosures.
Presentation
Scan the Booking
The booking platform shows a QR code. It links to the signed request to initiate the OID4VP procedure.
Presentation
Trusted Verifier
The wallet checks the request’s ES256 signature. The verifier’s certificate chains up to the trust infrastructure.
Presentation
One Claim
The request’s DCQL query asks only for is_hcp_below_37. The wallet discloses this one claim.
Presentation
Booked!
The wallet adds a key binding JWT over the verifier’s nonce and encrypts the response. The platform checks the issuer signature, the key binding and the expiry.
SD-JWT VC
The issuer signs the whole credential. For each claim, it holds a hash. The claims travel beside it as disclosures, so the wallet can leave some out.
Golf Courses
Most golf courses accept a handicap index of up to 36. For a course, the booking platform asks only whether the index is below 37. The wallet shares this one claim.
Tournaments
Tournaments set their own limits, such as 18 or 6. For a tournament, the booking platform asks for the handicap index itself. Name, club and document number stay in the wallet.
Test Credentials
The authorization page offers four credentials. Each one tests a different check of the verifier.
-
Low HCP HCP index 12.0
Courses: is_hcp_below_37 is true. Tournaments: hcp_index 12.0 is within every limit except the Pro-Am’s 6.
-
High HCP HCP index 42.0
Courses: is_hcp_below_37 is false. Tournaments: hcp_index 42.0 exceeds every limit.
-
Expired Expired 30 days ago
Signature and key binding are valid, but exp lies in the past.
-
Spoofed Signed with an unknown key
Signed with a key the verifier does not know. The issuer signature check fails.
About the Project
A research project on custom credentials for the EU Digital Identity Wallet. It runs with test data and its own trust infrastructure.