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

Support JWT Presentations #1175

Merged
merged 27 commits into from
Jun 2, 2023
Merged

Support JWT Presentations #1175

merged 27 commits into from
Jun 2, 2023

Conversation

abdulmth
Copy link
Contributor

@abdulmth abdulmth commented May 29, 2023

Description of change

Add support for issuing and validating JWT presentation.

Links to any relevant issues

#1151
(implementation does not match the issue description)

Type of change

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Fix

@abdulmth abdulmth changed the title Support Jwt Presentations WIP | Support Jwt Presentations May 29, 2023
@abdulmth abdulmth self-assigned this May 29, 2023
@abdulmth abdulmth added Added A new feature that requires a minor release. Part of "Added" section in changelog Rust Related to the core Rust code. Becomes part of the Rust changelog. labels May 29, 2023
@abdulmth abdulmth changed the title WIP | Support Jwt Presentations Support Jwt Presentations May 29, 2023
@abdulmth abdulmth changed the title Support Jwt Presentations Support JWT Presentations May 29, 2023
Copy link
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Please add the missing consistency checks on the presentation unless they are somehow not necessary. I would also suggest to do the extract_dids in this PR and add a test for it. I think we should remove the old Credential, Presentation Validators and their respective APIs in the resolver in a separate PR since that seems like a bigger task than anticipated.

identity_credential/src/credential/mod.rs Show resolved Hide resolved
identity_credential/src/presentation/jwt_presentation.rs Outdated Show resolved Hide resolved
identity_credential/src/presentation/jwt_presentation.rs Outdated Show resolved Hide resolved
abdulmth and others added 3 commits June 1, 2023 20:19
Co-authored-by: Philipp Gackstatter <philipp.gackstatter@iota.org>
Copy link
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the updates!

@abdulmth abdulmth merged commit 94b4465 into main Jun 2, 2023
@abdulmth abdulmth deleted the feat/jwt-presentation branch June 2, 2023 13:37
@abdulmth abdulmth mentioned this pull request Jun 6, 2023
4 tasks
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. Part of "Added" section in changelog Rust Related to the core Rust code. Becomes part of the Rust changelog.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants