Skip to content

Conversation

@paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Oct 23, 2025

What this PR changes/adds

This PR improves the handling and management of KeyPairs in the following aspects:

  • introduce usage field for KeyPairs to indicate what they should be used for
  • KeyPairService now offers a method to query for key for a specific use
  • keys for signing tokens are not stored on the StsAccount anymore. Instead, they are resolved from the KeyPairService as well.
  • ParticipantManifest now can handle a Set<KeyDescriptor>, so that participant contexts can be onboarded with multiple keys

Why it does that

improvement of KeyPairs, improve security

Further notes

A possibility to specify a concrete key (by ID) when signing credentials, presentations and token may be added later

Breaking change, due to schema changes and changes in DTOs

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #835

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added enhancement New feature or request breaking-change Will require manual intervention for version update labels Oct 23, 2025
@paullatzelsperger paullatzelsperger marked this pull request as ready for review October 23, 2025 10:23
@paullatzelsperger paullatzelsperger requested a review from a team as a code owner October 23, 2025 10:23
Copy link
Contributor

@wolf4ood wolf4ood left a comment

Choose a reason for hiding this comment

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

🚀

@paullatzelsperger paullatzelsperger merged commit 6a8e29d into eclipse-edc:main Oct 23, 2025
18 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/835_improve_keypair_handling branch October 23, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Will require manual intervention for version update enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Key-Pair handling and referencing

2 participants