Skip to content
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

wallet provider APIs / update attestation #2717

Open
ThierryThevenet opened this issue Jun 11, 2024 · 0 comments
Open

wallet provider APIs / update attestation #2717

ThierryThevenet opened this issue Jun 11, 2024 · 0 comments
Assignees

Comments

@ThierryThevenet
Copy link
Member

ThierryThevenet commented Jun 11, 2024

IN PROGRESS

Wallet request a new wallet attestation

Check the flow https://swimlanes.io/u/Rt5vg-FWI

  1. A new attestation is required after a special event
  2. Wallet calls /nonce endpoint
  3. Wallet calls the /token endpoint
  4. Wallet calls /update-attestation endpoint

with DPoP built and signed as previously

new key certificate is added to the body of the request

POST /update-pin HTTP/1.1
Host: wallet-provider.talao.co 
Authorization: Bearer <token>
DPoP: eyljkglkjglkjglkjkjhljkhlhh
Content-Type: 'application/x-www-form-urlencoded'

 key_attestation=o2NmbXRvYXBwbGUtYXBw

The wallet provider back end updates its base with the new salted_pin_code.

Wallet delete the previous attestation

@ThierryThevenet ThierryThevenet self-assigned this Jun 11, 2024
@ThierryThevenet ThierryThevenet changed the title wallet provider APIs / update attestation #2715 wallet provider APIs / update attestation Jun 12, 2024
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

No branches or pull requests

1 participant