feat: add wallet_attestation mechanism type to identity linking registry#280
Open
douglasborthwick-crypto wants to merge 2 commits intoUniversal-Commerce-Protocol:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Author
|
@googlebot I signed it! |
cb605c1 to
21a8770
Compare
6 tasks
21a8770 to
83c859b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds
wallet_attestationas a new mechanism type in the IdentityLinking Mechanism Registry introduced by #265. @amithanda invited this
follow-up in #265 (comment).
Wallet attestation enables commerce flows where the user's blockchain wallet
address serves as the identity — no redirect, no token exchange, no account
creation. A third-party verification provider evaluates on-chain state and
returns a cryptographically signed attestation that the business verifies
offline via JWKS.
What Changed
Mechanism Registry (
identity_linking.json)$defs/wallet_attestation— follows the same pattern as$defs/oauth2:type(const),provider_jwks(required, URI),attestation_endpoint(optional, URI),
additionalProperties: true.mechanismdescription to listwallet_attestationas a knowntype alongside
oauth2.Specification (
identity-linking.md)### Wallet Attestation ("type": "wallet_attestation")underSupported Mechanisms, at the same level as the existing OAuth 2.0 section.
For Businesses (requirements), Scope Considerations.
mechanism selection, attestation request/response, checkout attachment, and
offline signature verification.
Scope derivation
The wallet attestation mechanism does not use OAuth 2.0 scopes. The existing
pruning algorithm (Step 3 in
overview.md) already handles this — capabilitieswithout
identity_scopescontribute zero scopes to the authorization set.Relationship to #264
This PR and #264 (attestation extension for eligibility) are complementary but
independent:
identity_linking— how a businessestablishes identity via wallet attestation.
data appears in cart/checkout wire format.
Neither PR depends on the other. When both are present, the mechanism provides
the signed attestation and the extension provides the wire format for attaching
it.
Files Changed
source/schemas/common/identity_linking.json$defs/wallet_attestation, updatedmechanismdescriptiondocs/specification/identity-linking.md.cspell/custom-words.txtATST,attestedAt,expiresAtType of change
Checklist