From b7409887d5bc4c97f0e5d59ff714558cfa8f0a22 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Sat, 17 Aug 2024 10:12:19 -0400 Subject: [PATCH] Fix key agreement examples. --- index.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 9a3cd27..26ed042 100644 --- a/index.html +++ b/index.html @@ -1500,20 +1500,19 @@

Key Agreement

"id": "https://controller.example/123456789abcdefghi", ... "keyAgreement": [ - // this method can be used to perform key agreement as did:...fghi "https://controller.example/123456789abcdefghi#keys-1", - // this method is *only* approved for key agreement usage, it will not - // be used for any other verification relationship, so its full description is - // embedded here rather than using only a reference + // the rest of the methods below are *only* approved for key agreement usage + // they will not be used for any other verification relationship + // the full value is embedded here rather than using only a reference { - "id": "https://controller.example/123#z6LSn6p3HRxx1ZZk1dT9VwcfTBCYgtNWdzdDMKPZjShLNWG7", - "type": "X25519KeyAgreementKey2019", // external (property value) + "id": "https://controller.example/123#keys-2", + "type": "Multikey", "controller": "https://controller.example/123", - "publicKeyMultibase": "z6LSn6p3HRxx1ZZk1dT9VwcfTBCYgtNWdzdDMKPZjShLNWG7" + "publicKeyMultibase": "zDnaerx9CtbPJ1q36T5Ln5wYt3MQYeGRG5ehnPAmxcf5mDZpv" }, { - "id": "https://controller.example/123#uJVamQV5rMNQGUwCqlH0", - "type": "JsonWebKey", // external (property value) + "id": "https://controller.example/123#keys-3", + "type": "JsonWebKey", "controller": "https://controller.example/123", "publicKeyJwk": { "kty": "OKP",