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

feat: add support for IOTA DID Method #54

Merged
merged 127 commits into from
May 14, 2024
Merged

Conversation

nanderstabel
Copy link
Collaborator

@nanderstabel nanderstabel commented May 9, 2024

Description of change

This PR adds support for the IOTA DID Method. The implementation is rather simple since all of the related functionality is done by did_manager's SecretManager.

However, because of IOTA DID Method's async nature, the previous versions of the oid4vc traits where insufficient. This update utilizes an updated oid4vc dependency that does support the necessary async traits needed for DID IOTA.

Most of the code changes in this PR are simply the effect of normal trait methods to async trait methods. A bunch of tests had to be altered as well to support the async code.

Blocked by

Links to any relevant issues

How the change has been tested

existing updated tests still pass
manual testing using UniMe

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@nanderstabel nanderstabel changed the base branch from dev to feat/oid4vp May 9, 2024 20:09
@nanderstabel nanderstabel changed the title Feat/did manager iota feat: add support for IOTA DID Method May 9, 2024
@nanderstabel nanderstabel self-assigned this May 9, 2024
@nanderstabel nanderstabel added the Added A new feature that requires a minor release. label May 9, 2024
@nanderstabel nanderstabel marked this pull request as ready for review May 9, 2024 23:35
agent_secret_manager/Cargo.toml Outdated Show resolved Hide resolved
agent_application/docker/README.md Outdated Show resolved Hide resolved
agent_application/docker/README.md Outdated Show resolved Hide resolved
@nanderstabel nanderstabel force-pushed the feat/did-manager-iota branch from 1a6b20c to f2e097d Compare May 13, 2024 18:01
@nanderstabel nanderstabel requested a review from daniel-mader May 13, 2024 19:55
Base automatically changed from feat/oid4vp to dev May 13, 2024 20:05
Copy link
Contributor

@daniel-mader daniel-mader left a comment

Choose a reason for hiding this comment

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

Woohoo! 🥳

@nanderstabel nanderstabel merged commit 419f768 into dev May 14, 2024
1 check passed
@nanderstabel nanderstabel deleted the feat/did-manager-iota branch May 14, 2024 14:21
Copy link

🎉 This PR is included in version 1.0.0-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 1.0.0-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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. released on @alpha released on @beta
Projects
Development

Successfully merging this pull request may close these issues.

2 participants