From 9fd64e08ecc395c937d8159df91f695a389150d8 Mon Sep 17 00:00:00 2001 From: Will Abramson Date: Fri, 3 Jan 2025 10:46:17 +0000 Subject: [PATCH 1/5] improve capability delegation example and explaination --- index.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7d3f470e..18c36a6d 100644 --- a/index.html +++ b/index.html @@ -2110,7 +2110,14 @@

Capability Delegation

{ "@context": "https://www.w3.org/ns/did/v1.1", "id": "did:example:123456789abcdefghi", - ... + "verificationMethod": [ + { + "id": "did:example:123456789abcdefghi#keys-1", + "type": "Ed25519VerificationKey2020", + "controller": "did:example:123456789abcdefghi", + "publicKeyMultibase": "z4BWwfeqdp1obQptLLMvPNgBw48p7og1ie6Hf9p5nTpNN" + } + ], "capabilityDelegation": [ // this method can be used to perform capability delegation as did:...fghi "did:example:123456789abcdefghi#keys-1", @@ -2127,6 +2134,9 @@

Capability Delegation

... } + + In the example above, the DID document for did:example:123456789abcdefghi defines two verificationMethods, #keys-1 and #keys-2, that can be used for the purpose of capability delegation. This means that these verification methods can be used to produce and verify delegations of a capability issued to did:example:123456789abcdefghi. + From 1b0f97615bad7de9a618a74f1053fe72543ee8a3 Mon Sep 17 00:00:00 2001 From: Will Abramson Date: Mon, 6 Jan 2025 13:41:32 +0000 Subject: [PATCH 2/5] Make capabilityDelegation vm example explanation clearer Co-authored-by: Dave Longley --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 18c36a6d..b7cc3584 100644 --- a/index.html +++ b/index.html @@ -2135,7 +2135,7 @@

Capability Delegation

} - In the example above, the DID document for did:example:123456789abcdefghi defines two verificationMethods, #keys-1 and #keys-2, that can be used for the purpose of capability delegation. This means that these verification methods can be used to produce and verify delegations of a capability issued to did:example:123456789abcdefghi. + In the example above, the DID document for did:example:123456789abcdefghi defines two verificationMethods, #keys-1 and #keys-2, that can be used for the purpose of capability delegation. This means that these verification methods can be used to verify delegated capabilities issued by did:example:123456789abcdefghi. From 15fa33ef4ad19a5a9808318826ca180fb36528b7 Mon Sep 17 00:00:00 2001 From: Will Abramson Date: Mon, 6 Jan 2025 13:41:48 +0000 Subject: [PATCH 3/5] Move to Multikey Co-authored-by: Manu Sporny --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b7cc3584..0116b25c 100644 --- a/index.html +++ b/index.html @@ -2113,7 +2113,7 @@

Capability Delegation

"verificationMethod": [ { "id": "did:example:123456789abcdefghi#keys-1", - "type": "Ed25519VerificationKey2020", + "type": "Multikey", "controller": "did:example:123456789abcdefghi", "publicKeyMultibase": "z4BWwfeqdp1obQptLLMvPNgBw48p7og1ie6Hf9p5nTpNN" } From f7c0184061999df4dc3d5ed0d7829be3667eb2d9 Mon Sep 17 00:00:00 2001 From: Will Abramson Date: Mon, 6 Jan 2025 13:45:41 +0000 Subject: [PATCH 4/5] line wrap to 80 chars --- index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 0116b25c..67fc7db6 100644 --- a/index.html +++ b/index.html @@ -2135,7 +2135,12 @@

Capability Delegation

} - In the example above, the DID document for did:example:123456789abcdefghi defines two verificationMethods, #keys-1 and #keys-2, that can be used for the purpose of capability delegation. This means that these verification methods can be used to verify delegated capabilities issued by did:example:123456789abcdefghi. +In the example above, the DID document for +did:example:123456789abcdefghi defines two verificationMethods, +#keys-1 and #keys-2, that can be used for the +purpose of capability delegation. This means that these verification methods +can be used to verify delegated capabilities issued by +did:example:123456789abcdefghi. From c55f6cc4b4d64f0eb0dedeb7bcbfd88fb1a73df5 Mon Sep 17 00:00:00 2001 From: Will Abramson Date: Wed, 8 Jan 2025 14:42:51 +0000 Subject: [PATCH 5/5] tweak language Co-authored-by: Ted Thibodeau Jr --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 67fc7db6..ff4a4170 100644 --- a/index.html +++ b/index.html @@ -2139,7 +2139,7 @@

Capability Delegation

did:example:123456789abcdefghi defines two verificationMethods, #keys-1 and #keys-2, that can be used for the purpose of capability delegation. This means that these verification methods -can be used to verify delegated capabilities issued by +can be used to verify capabilities delegated by did:example:123456789abcdefghi.