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

Add initial support for verifiable presentations #9

Closed
4 tasks
Tracked by #4
nanderstabel opened this issue Mar 29, 2023 · 0 comments · Fixed by #21
Closed
4 tasks
Tracked by #4

Add initial support for verifiable presentations #9

nanderstabel opened this issue Mar 29, 2023 · 0 comments · Fixed by #21
Assignees

Comments

@nanderstabel
Copy link
Collaborator

nanderstabel commented Mar 29, 2023

Description

Add initial support for verifiable presentations.

This Issue involves adding support for the vp_token response_type and presentation_definition parameter in the SIOP library, as described in the OpenID for Verifiable Presentations (OpenID4VP) specification. When the vp_token response type is set, the Provider should generate a presentation of verifiable credentials based on the presentation_definition parameter in the request. The Relying Party should then be able to verify the presentation and authenticate the user based on the claims presented.

This implementation should initially be following the IOTA DID method.

Motivation

Apart from the SIOPv2 specification, this library should also be able to support the OpenID for Verifiable Presentations specification. The initial implementation as described above will also allow for testing this library against external Client libraries.

Resources

OpenID for Verifiable Presentations (OpenID4VP) specification
#4

To-do List

  • Add a PresentationDefinition struct that can be deserialized from a SiopRequest
  • Add a VerifiablePresentation struct that can be build from a PresentationDefinition
  • Provide a presentation_submission parameter alongside the new vp_token in the SiopResponse
  • Verifiable Presentations functionality should be behind a openid4vp feature flag
@nanderstabel nanderstabel added the Added A new feature that requires a minor release. label Mar 29, 2023
@nanderstabel nanderstabel self-assigned this Mar 29, 2023
@nanderstabel nanderstabel moved this from Backlog to In Progress in Impierce SSI Stack Mar 29, 2023
@nanderstabel nanderstabel removed the Added A new feature that requires a minor release. label Mar 29, 2023
@nanderstabel nanderstabel moved this from In Progress to Todo in Impierce SSI Stack Mar 31, 2023
@nanderstabel nanderstabel moved this from Todo to In Progress in Impierce SSI Stack May 4, 2023
@nanderstabel nanderstabel moved this from In Progress to Todo in Impierce SSI Stack Jun 6, 2023
@nanderstabel nanderstabel moved this from Todo to In Progress in Impierce SSI Stack Jun 19, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Impierce SSI Stack Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant