Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Be able to import an existing DID Doc #542

Open
nitro-neal opened this issue Jun 14, 2023 · 5 comments
Open

Be able to import an existing DID Doc #542

nitro-neal opened this issue Jun 14, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@nitro-neal
Copy link
Contributor

Be able to pull in the private key for issuing creds on existing cred:
example: https://www.tbd.website/.well-known/did.json

@nitro-neal nitro-neal added the bug Something isn't working label Jun 14, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in SSI Jun 14, 2023
@decentralgabe
Copy link
Member

I don't think we should promote moving private keys. It's safer to generate a new key in the service and have it added to an existing DID doc.

@nitro-neal
Copy link
Contributor Author

Ok so to be clear, we wont support importing a private key? People bringing their own key wont be supported basically?

I was hoping we could get this feature so we can import our key for our did web

@decentralgabe
Copy link
Member

Ok so to be clear, we wont support importing a private key? People bringing their own key wont be supported basically?

I was hoping we could get this feature so we can import our key for our did web

I'd recommend no. To support DID web let's add a new key to the doc that's managed by the service. So we can support an "import existing DID" flow.

@andresuribe87
Copy link
Contributor

I agree that we shouldn't be moving private keys.

Can you elaborate on what the "import existing DID" flow would do?

@decentralgabe
Copy link
Member

  1. Be able to import an existing DID Doc from an external source or copy/paste
  2. Be able to generate a new key locally and add it to the DID Doc (at least in the verificationMethods block), where the new key has a controller property set as the kid of the original key (or none!?)
  3. Return the updated DID doc

Then you could have a key in the service that can act as the DID without having all keys in the document

@nitro-neal nitro-neal changed the title Import private key for did web Be able to import an existing DID Doc Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
No open projects
Status: 🆕 New
Development

No branches or pull requests

3 participants