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

Web demo for Private Credentials #91

Merged
merged 52 commits into from
Dec 20, 2024
Merged

Web demo for Private Credentials #91

merged 52 commits into from
Dec 20, 2024

Conversation

mitschabaude
Copy link
Member

@mitschabaude mitschabaude commented Dec 18, 2024

add a simple web ui for demoing credentials

ui was mostly written by claude :D

only significant changes to the core library are:

  • add the serverNonce to the Presentation type, so that a server can recognize a previously created presentation request
  • add a method called Presentation.precompile() which a server can use to compile the spec before creating the actual presentation request (where we already need to know all the claims inputs). This is important because we want to reuse a single spec for many presentations, and the current API assumed it was compiled for each single presentation.
    • I might collapse precompile() and compile() into a single method a future PR

image

@mitschabaude mitschabaude marked this pull request as ready for review December 20, 2024 20:08
@mitschabaude mitschabaude merged commit 61b9bb0 into main Dec 20, 2024
1 check passed
@mitschabaude mitschabaude deleted the e2e-web-example branch December 20, 2024 20:26
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.

1 participant