-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
did-managerenhancementNew feature or requestNew feature or requestkey-managerpinneddon't close this just for being staledon't close this just for being stale
Description
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
- Be able to handle existing keys
- Bootstrap a DID from provided keys, this is useful for did:key and few others when you only know the keys but don't want to compute the DID beforehand
- Update an existing DID (re-import), a DID in the wallet could be updated externally we should sync any changes made to it on request
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.
Metadata
Metadata
Assignees
Labels
did-managerenhancementNew feature or requestNew feature or requestkey-managerpinneddon't close this just for being staledon't close this just for being stale