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(castor): now castor and agents can create a did with any keys #199

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

goncalo-frade-iohk
Copy link
Contributor

@goncalo-frade-iohk goncalo-frade-iohk commented Mar 3, 2025

Description:

now castor and agents can create a did with any keys

This PR also fixes a bug with the issuance flow on SD-JWT.

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • 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
  • I have checked the PR title to follow the conventional commit specification

@goncalo-frade-iohk goncalo-frade-iohk requested a review from a team as a code owner March 3, 2025 15:57
Copy link
Contributor

@yshyn-iohk yshyn-iohk left a comment

Choose a reason for hiding this comment

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

@goncalo-frade-iohk, I'm not proficient in Swift, but your PR looks good ;)

case .capabilityInvocationKey:
return "capabilityInvocationKey\(index)"
return "capability-invocationKey\(index)"
Copy link
Contributor

Choose a reason for hiding this comment

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

why have these changed? is this something that needs to be mirrored in other SDKs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Short answer is not really defined here: https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md

Long answer: It should be defined plus it seems the examples suggest it should be like that and on the cloud agent its like that, so lets go for it as the default.

@goncalo-frade-iohk goncalo-frade-iohk merged commit d60dd7d into main Mar 5, 2025
4 checks passed
@goncalo-frade-iohk goncalo-frade-iohk deleted the feature/issue-197 branch March 5, 2025 13:12
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.

4 participants