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

Distributed Identity Improvements #109

Merged
merged 157 commits into from
Oct 7, 2021

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Sep 27, 2021

This PR improves the Distributed Identity implementation from the Hackathon. These features have been implemented:

  • storing and resolving private keys in Azure Vault (or any vault)
  • resolving public keys via DIDs (through a DidPublicKeyResolver)
  • generating VerifiableCredentials, which are essentially signed JWTs, and using them as DATs in IDS messages
  • obtaining and verifying assertions stored in an IdentityHub during credential verification (check extensions/iam/distributed-identity/README.md)
  • a few improvements and generalizations related to cryptography (e.g. now we're using a PrivateKeyWrapper instead of using an RSAPrivateKey directly)
  • the ion module has been moved from data-protocols to extensions
  • the identity-hub-verifier (which is use-case-specific) has been replaced with a more general dummy-credentials-verifier module

@paullatzelsperger paullatzelsperger force-pushed the feature/ion-demo branch 2 times, most recently from 9468cfd to 5ad525f Compare September 30, 2021 08:18
@paullatzelsperger paullatzelsperger marked this pull request as ready for review September 30, 2021 09:00
@paullatzelsperger
Copy link
Member Author

@MoritzKeppler do you think we can merge this?

@@ -41,7 +49,7 @@

@Override
public Set<String> provides() {
return Set.of(FEATURE_HTTP_CLIENT, FEATURE_RETRY_POLICY);
return Set.of(FEATURE_HTTP_CLIENT, FEATURE_RETRY_POLICY, PrivateKeyResolver.FEATURE);
Copy link
Contributor

Choose a reason for hiding this comment

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

actually it does not provide the PrivateKeyResolver...

@MoritzKeppler MoritzKeppler merged commit 8a5df66 into eclipse-edc:main Oct 7, 2021
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.

3 participants