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!: use did:key in protocols by default #1149

Merged

Conversation

genaris
Copy link
Contributor

@genaris genaris commented Dec 9, 2022

As discussed some time ago in #497, now we are having a new major release, we use did:key in protocols by default. We'll of course still accept base58-encoded keys if the other party is not yet using did:key.

BREAKING CHANGE:
useDidKeyInProtocols configuration parameter is now enabled by default. If your agent only interacts with modern agents (e.g. AFJ 0.2.5 and newer) this will not represent any issue. Otherwise it is safer to explicitly set it to false. However, keep in mind that we expect this setting to be deprecated in the future, so we encourage you to update all your agents to use did:key.

@genaris genaris requested a review from a team as a code owner December 9, 2022 08:12
Copy link
Contributor

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

This is a breaking change right?

@genaris
Copy link
Contributor Author

genaris commented Dec 9, 2022

This is a breaking change right?

Yes. I'm updating the migration guide to reflect this change and also the new OutboundMessageContext class. Check this PR.

@genaris genaris changed the title feat: use did:key in protocols by default feat!: use did:key in protocols by default Dec 9, 2022
@genaris genaris merged commit 9f10da8 into openwallet-foundation:main Dec 9, 2022
@genaris genaris deleted the feat/use-did-key-by-default branch December 9, 2022 13:05
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.

2 participants