-
Notifications
You must be signed in to change notification settings - Fork 135
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
Improve Key Management in DID Import [proposal] #1312
Comments
Has the code changed re: this issue changed since Jan 2nd?
What happens when the local state of the Identifier has more information than the provider state? Is the local information lost? This would be analogous to a AFAIK, there is no Identifier version management that would formalize the cases. In did-document-metadata there is |
For reference: requiring more orthogonality in issue #1373. |
Is your feature request related to a problem? Please describe.
The DID import api currently imports a DID with all keys specified in the argument, I propose to add the features mentioned below
Describe the solution you'd like
Extract the list of keys required for the DID import, by resolving the DID and using
extractPublicKeyHex
util function. Now if the publicKeyHex is already in the wallet we should skip the key import step for it. But making sure we validate all the required keys are passed in the request.The text was updated successfully, but these errors were encountered: