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

JWK and Verification method refactor #268

Merged
merged 3 commits into from
Aug 26, 2021
Merged

JWK and Verification method refactor #268

merged 3 commits into from
Aug 26, 2021

Conversation

clehner
Copy link
Contributor

@clehner clehner commented Aug 24, 2021

These changes are factored out of #253.

Verifying a public key against a blockchainAccountId in some proof types is here generalized to verifying the public key against the verification method map, including allowing the verification method map to use a literal public key instead of only blockchainAccountId.

@clehner clehner marked this pull request as ready for review August 25, 2021 13:12
@clehner clehner requested review from sbihel and chunningham August 25, 2021 13:12
- Generalize matching a JWK against a VM map
- Implement comparing a JWK by public key properties
@clehner clehner force-pushed the feat/vm-jwk-refactor branch from 25e4186 to c188ab1 Compare August 26, 2021 13:31
@clehner clehner merged commit c188ab1 into main Aug 26, 2021
@clehner clehner deleted the feat/vm-jwk-refactor branch August 26, 2021 13:31
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