diff --git a/spec/registry/spec.md b/spec/registry/spec.md index bae25d49..d69b53d1 100644 --- a/spec/registry/spec.md +++ b/spec/registry/spec.md @@ -5,7 +5,9 @@ The DID DHT Method Specification Registry 1.0 **Latest Draft:** [tbd54566975.github.io/did-dht-method](https://tbd54566975.github.io/did-dht-method) -**Latest Update:** November 28, 2023 +**Draft Created:** November 20, 2023 + +**Latest Update:** January 4, 2024 **Editors:** ~ [Gabe Cohen](https://github.com/decentralgabe) @@ -31,9 +33,12 @@ Corresponds to the mapping, for a DID Document's DNS packet representation, of a | Index | Key Type | | ----- | ------------------------------------------------------ | | 0 | [Ed25519](https://ed25519.cr.yp.to/) | -| 1 | [secp256k1](https://en.bitcoin.it/wiki/Secp256k1) | +| 1 | [secp256k1](https://datatracker.ietf.org/doc/html/rfc8812#section-3.1) | | 2 | [secp256r1](https://neuromancer.sk/std/secg/secp256r1) | +::: note +All keys are represented as JWKs [[spec:RFC7517]] in their **uncompressed** form. +::: An example [Verification Method](https://www.w3.org/TR/did-core/#verification-methods) record represented as a DNS TXT record is as follows: diff --git a/spec/spec.md b/spec/spec.md index e0dbc7cc..05498fc3 100644 --- a/spec/spec.md +++ b/spec/spec.md @@ -9,7 +9,7 @@ The DID DHT Method Specification 1.0 **Draft Created:** October 20, 2023 -**Latest Update:** December 12, 2023 +**Latest Update:** January 4, 2024 **Editors:** ~ [Gabe Cohen](https://github.com/decentralgabe) @@ -147,11 +147,11 @@ Comprising a DNS packet [[spec:RFC1034]] [[spec:RFC1035]], which is then stored | Name | Type | TTL | Rdata | | --------- | ---- | ------ | ----------------------------------------- | | _did. | TXT | 7200 | vm=k0,k1,k2;auth=k0;asm=k1;inv=k2;del=k2;srv=s0,s1,s2 | -| _k0._did. | TXT | 7200 | t=0,k=`` | -| _k1._did. | TXT | 7200 | t=1,k=`` | -| _k2._did. | TXT | 7200 | t=1,k=`` | -| _s0._did. | TXT | 7200 | t=LinkedDomains;uri=foo.com;... | -| _s1._did. | TXT | 7200 | t=DWN;uri=https://dwn.tbddev.org/dwn5;... | +| _k0._did. | TXT | 7200 | t=0,k=`` | +| _k1._did. | TXT | 7200 | t=1,k=`` | +| _k2._did. | TXT | 7200 | t=1,k=`` | +| _s0._did. | TXT | 7200 | id=domain,t=LinkedDomains,uri=foo.com | +| _s1._did. | TXT | 7200 | id=dwn,t=DecentralizedWebNode,uri=https://dwn.tbddev.org/dwn5 | ::: note The recommended TTL value is 7200 seconds (2 hours), the default TTL for Mainline records. @@ -834,7 +834,7 @@ A minimal DID Document. #### Vector 2 -A DID Document with two keys ([[ref:Identity Key]] and a secp256k1 key), a service endpoint, and two types to index. +A DID Document with two keys ([[ref:Identity Key]] and an uncompressed secp256k1 key), a service endpoint, and two types to index. **Identity Public Key JWK:**