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

Are did:webs that redirect another domain's did:web ok? #71

Open
morgatron opened this issue Jan 18, 2023 · 1 comment
Open

Are did:webs that redirect another domain's did:web ok? #71

morgatron opened this issue Jan 18, 2023 · 1 comment

Comments

@morgatron
Copy link

I'm wondering if it's wise to do the following:

Bob, who controls bobsdomain.com, wishes to allow Alice to issue VCs on his behalf. Alice controls alicesdomain.com

To allow this, in his DID document Bob puts did:alicesdomain.com:keysForBob#key1 as a verification method. If at some point Bob wants to change the arrangement he can change his did document.

I understand this is valid from the VC spec, but the key rotation/revocation prospects seem a bit dicey among other things. Is there a better way?

I note that Bob could also simply put one of Alice's public keys straight up in his DID document. I don't think this makes anything better though, and it seems a little less honest.

@dmitrizagidulin
Copy link
Collaborator

Hi @morgatron, great questions. In general, I don't think the DID mechanism is really meant to be used for delegation of keys /by itself/. (I know there's some inheritance/delegation hierarchy in DID documents via the controller property, but its semantics haven't really been specified or explored so far).
I think capabilities (such as zCaps), or, failing that, Verifiable Credentials, would be a better way to do this.

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

No branches or pull requests

2 participants