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

Implement OpenID4VP #22

Open
2 of 6 tasks
JelleMillenaar opened this issue Jan 24, 2024 · 1 comment
Open
2 of 6 tasks

Implement OpenID4VP #22

JelleMillenaar opened this issue Jan 24, 2024 · 1 comment
Assignees
Labels
Added A new feature that requires a minor release.
Milestone

Comments

@JelleMillenaar
Copy link

JelleMillenaar commented Jan 24, 2024

Description

Add OpenID4VP standard to the Agent for requesting and verifying credentials. Similarly to OpenID4VCI implementation, the agent must have a method to generating an auth_request that can be displayed as a QR-code on the "front-end" (of the implementer). This should be exposed by the REST API. The Presentation Definition should probably be pre-registered in the settings with an identifier, which is then used in the API call to trigger the correct data request. Feel free to make a better design if you have it ;)

The Validation of received Verifiable Presentations need to allow either of two solutions depending on the chosen policy (defined beforehand in the settings):

  1. Internal Validation: Which is a strict validation (signature must be valid, not expired etc...), including a simple pre-defined trust list.
    2: External Validation: Sends an event with the VP information for it to be validated externally to the Agent. The Event must be responded to with the results of the External Validation.

At the end of the process, another Event should be sent out with the conclusions of the exchange. This includes the data and the validation results.

Feel free to add missing information or ideas to this issue.

Motivation

Increase SSI functionality with Validation.

Resources

No response

To-do List

  • Implement OpenID4VP interactions
  • Allow pre-defined Presentation Definitions
  • Allow pre-defined Trust List (Including "*" for catch-all)
  • Implement Internal Validation
  • Implement External Validation
  • Implement Results Event
@JelleMillenaar JelleMillenaar added the Added A new feature that requires a minor release. label Jan 24, 2024
@JelleMillenaar JelleMillenaar added this to the IOTA Sprint milestone Jan 24, 2024
@nanderstabel nanderstabel self-assigned this Mar 13, 2024
@JelleMillenaar
Copy link
Author

Additional context based on internal discussions:
Presentation Sequence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added A new feature that requires a minor release.
Projects
Development

No branches or pull requests

2 participants