generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#497 - Added support for publishing NS records + official test vector…
… 2 compliance (#514) - Added support for publishing NS records and fixed bugs to achieve official test vector 2 compliance. - Removed kid in DNS records according to DID DHT spec update. - Minor renaming. - QoL - Updated CODEOWNERS to further increase review efficiency. - QoL - Added HTML code coverage output for `dids` repo for immediate coverage feedback.
- Loading branch information
1 parent
b2e8831
commit 6c57350
Showing
8 changed files
with
275 additions
and
96 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
], | ||
"reporter": [ | ||
"cobertura", | ||
"html", | ||
"text" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
packages/dids/tests/fixtures/test-vectors/did-dht/vector-1-did-document.json
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
packages/dids/tests/fixtures/test-vectors/did-dht/vector-1-dns-records.json
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
packages/dids/tests/fixtures/test-vectors/did-dht/vector-1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"didDocument": { | ||
"id": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo", | ||
"verificationMethod": [ | ||
{ | ||
"id": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo#0", | ||
"type": "JsonWebKey", | ||
"controller": "did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo", | ||
"publicKeyJwk": { | ||
"kid": "0", | ||
"alg": "Ed25519", | ||
"crv": "Ed25519", | ||
"kty": "OKP", | ||
"x": "YCcHYL2sYNPDlKaALcEmll2HHyT968M4UWbr-9CFGWE" | ||
} | ||
} | ||
], | ||
"authentication": [ | ||
"did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo#0" | ||
], | ||
"assertionMethod": [ | ||
"did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo#0" | ||
], | ||
"capabilityInvocation": [ | ||
"did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo#0" | ||
], | ||
"capabilityDelegation": [ | ||
"did:dht:cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo#0" | ||
] | ||
}, | ||
"dnsRecords": [ | ||
{ | ||
"name": "_did.cyuoqaf7itop8ohww4yn5ojg13qaq83r9zihgqntc5i9zwrfdfoo.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": "v=0;vm=k0;auth=k0;asm=k0;inv=k0;del=k0" | ||
}, | ||
{ | ||
"name": "_k0._did.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": "t=0;k=YCcHYL2sYNPDlKaALcEmll2HHyT968M4UWbr-9CFGWE" | ||
} | ||
] | ||
} |
Oops, something went wrong.