generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
DID DHT Vector 3 Compliance (#636)
1. Vector 3 compliance 2. X25519 support 3. Previous DID link support 4. DNS record chunking support for record > 255 characters (only in context of vector 3 compliance, will need to apply generically in a separate PR that addresses item 4 specifically in #497) 5. Some test refactoring
- @web5/user-agent@0.7.1
- @web5/user-agent@0.7.0
- @web5/user-agent@0.6.4
- @web5/user-agent@0.6.3
- @web5/user-agent@0.6.2
- @web5/user-agent@0.6.1
- @web5/user-agent@0.6.0
- @web5/user-agent@0.5.1
- @web5/user-agent@0.5.0
- @web5/user-agent@0.4.3
- @web5/user-agent@0.4.2
- @web5/user-agent@0.4.1
- @web5/user-agent@0.4.0
- @web5/user-agent@0.3.8
- @web5/user-agent@0.3.7
- @web5/proxy-agent@0.7.1
- @web5/proxy-agent@0.7.0
- @web5/proxy-agent@0.6.4
- @web5/proxy-agent@0.6.3
- @web5/proxy-agent@0.6.2
- @web5/proxy-agent@0.6.1
- @web5/proxy-agent@0.6.0
- @web5/proxy-agent@0.5.1
- @web5/proxy-agent@0.5.0
- @web5/proxy-agent@0.4.3
- @web5/proxy-agent@0.4.2
- @web5/proxy-agent@0.4.1
- @web5/proxy-agent@0.4.0
- @web5/proxy-agent@0.3.8
- @web5/proxy-agent@0.3.7
- @web5/identity-agent@0.7.1
- @web5/identity-agent@0.7.0
- @web5/identity-agent@0.6.4
- @web5/identity-agent@0.6.3
- @web5/identity-agent@0.6.2
- @web5/identity-agent@0.6.1
- @web5/identity-agent@0.6.0
- @web5/identity-agent@0.5.1
- @web5/identity-agent@0.5.0
- @web5/identity-agent@0.4.3
- @web5/identity-agent@0.4.2
- @web5/identity-agent@0.4.1
- @web5/identity-agent@0.4.0
- @web5/identity-agent@0.3.8
- @web5/identity-agent@0.3.7
- @web5/dids@1.2.0
- @web5/dids@1.1.5
- @web5/dids@1.1.4
- @web5/dids@1.1.3
- @web5/dids@1.1.2
- @web5/dids@1.1.1
- @web5/dids@1.1.0
- @web5/crypto-aws-kms@1.0.6
- @web5/crypto-aws-kms@1.0.5
- @web5/crypto-aws-kms@1.0.4
- @web5/crypto-aws-kms@1.0.3
- @web5/crypto-aws-kms@1.0.2
- @web5/crypto-aws-kms@1.0.1
- @web5/crypto@1.0.6
- @web5/crypto@1.0.5
- @web5/crypto@1.0.4
- @web5/crypto@1.0.3
- @web5/crypto@1.0.2
- @web5/crypto@1.0.1
- @web5/credentials@1.1.3
- @web5/credentials@1.1.2
- @web5/credentials@1.1.1
- @web5/credentials@1.1.0
- @web5/credentials@1.0.4
- @web5/credentials@1.0.3
- @web5/credentials@1.0.2
- @web5/common@1.1.0
- @web5/common@1.0.2
- @web5/common@1.0.1
- @web5/browser@0.0.3
- @web5/browser@0.0.2
- @web5/api@0.12.0
- @web5/api@0.11.0
- @web5/api@0.10.0
- @web5/api@0.9.4
- @web5/agent@0.8.1
- @web5/agent@0.8.0
- @web5/agent@0.7.4
- @web5/agent@0.7.3
- @web5/agent@0.7.2
- @web5/agent@0.7.1
- @web5/agent@0.7.0
- @web5/agent@0.6.1
- @web5/agent@0.6.0
- @web5/agent@0.5.1
- @web5/agent@0.5.0
- @web5/agent@0.4.1
- @web5/agent@0.4.0
- @web5/agent@0.3.8
- @web5/agent@0.3.7
1 parent
269384b
commit b425bbc
Showing
12 changed files
with
292 additions
and
50 deletions.
There are no files selected for viewing
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,8 @@ | ||
--- | ||
"@web5/dids": minor | ||
--- | ||
|
||
1. Vector 3 compliance | ||
2. X25519 support | ||
3. Previous DID link support | ||
4. DNS record chunking support for record > 255 characters (only in context of vector 3 compliance) |
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
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
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
108 changes: 108 additions & 0 deletions
108
packages/dids/tests/fixtures/test-vectors/did-dht/vector-3.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,108 @@ | ||
{ | ||
"didDocument": { | ||
"id": "did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy", | ||
"verificationMethod": [ | ||
{ | ||
"id": "did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#0", | ||
"type": "JsonWebKey", | ||
"controller": "did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy", | ||
"publicKeyJwk": { | ||
"kid": "0", | ||
"alg": "Ed25519", | ||
"crv": "Ed25519", | ||
"kty": "OKP", | ||
"x": "sTyTLYw-n1NI9X-84NaCuis1wZjAA8lku6f6Et5201g" | ||
} | ||
}, | ||
{ | ||
"id": "did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#WVy5IWMa36AoyAXZDvPd5j9zxt2t-GjifDEV-DwgIdQ", | ||
"type": "JsonWebKey", | ||
"controller": "did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy", | ||
"publicKeyJwk": { | ||
"kid": "WVy5IWMa36AoyAXZDvPd5j9zxt2t-GjifDEV-DwgIdQ", | ||
"alg": "ECDH-ES+A128KW", | ||
"crv": "X25519", | ||
"kty": "OKP", | ||
"x": "3POE0_i2mGeZ2qiQCA3KcLfi1fZo0311CXFSIwt1nB4" | ||
} | ||
} | ||
], | ||
"authentication": [ | ||
"did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#0" | ||
], | ||
"assertionMethod": [ | ||
"did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#0" | ||
], | ||
"keyAgreement": [ | ||
"did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#WVy5IWMa36AoyAXZDvPd5j9zxt2t-GjifDEV-DwgIdQ" | ||
], | ||
"capabilityInvocation": [ | ||
"did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#0" | ||
], | ||
"capabilityDelegation": [ | ||
"did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#0" | ||
], | ||
"service": [ | ||
{ | ||
"id": "did:dht:sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy#service-1", | ||
"type": "TestLongService", | ||
"serviceEndpoint": ["https://test-lllllllllllllllllllllllllllllllllllooooooooooooooooooooonnnnnnnnnnnnnnnnnnngggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssseeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrvvvvvvvvvvvvvvvvvvvviiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiccccccccccccccccccccccccccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.com/1"] | ||
} | ||
] | ||
}, | ||
"authoritativeGatewayUris": [ | ||
"gateway1.example-did-dht-gateway.com", | ||
"gateway2.example-did-dht-gateway.com" | ||
], | ||
"previousDidProof": { | ||
"previousDid": "did:dht:x3heus3ke8fhgb5pbecday9wtbfynd6m19q4pm6gcf5j356qhjzo", | ||
"signature": "Tt9DRT6J32v7O2lzbfasW63_FfagiMHTHxtaEOD7p85zHE0r_EfiNleyL6BZGyB1P-oQ5p6_7KONaHAjr2K6Bw" | ||
}, | ||
"dnsRecords": [ | ||
{ | ||
"name": "_prv._did.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": "id=did:dht:x3heus3ke8fhgb5pbecday9wtbfynd6m19q4pm6gcf5j356qhjzo;s=Tt9DRT6J32v7O2lzbfasW63_FfagiMHTHxtaEOD7p85zHE0r_EfiNleyL6BZGyB1P-oQ5p6_7KONaHAjr2K6Bw" | ||
}, | ||
{ | ||
"name": "_did.sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy.", | ||
"type": "NS", | ||
"ttl": 7200, | ||
"rdata": "gateway1.example-did-dht-gateway.com." | ||
}, | ||
{ | ||
"name": "_did.sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy.", | ||
"type": "NS", | ||
"ttl": 7200, | ||
"rdata": "gateway2.example-did-dht-gateway.com." | ||
}, | ||
{ | ||
"name": "_did.sr6jgmcc84xig18ix66qbiwnzeiumocaaybh13f5w97bfzus4pcy.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": "v=0;vm=k0,k1;auth=k0;asm=k0;agm=k1;inv=k0;del=k0;svc=s0" | ||
}, | ||
{ | ||
"name": "_k0._did.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": "t=0;k=sTyTLYw-n1NI9X-84NaCuis1wZjAA8lku6f6Et5201g" | ||
}, | ||
{ | ||
"name": "_k1._did.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": "t=3;k=3POE0_i2mGeZ2qiQCA3KcLfi1fZo0311CXFSIwt1nB4;a=ECDH-ES+A128KW" | ||
}, | ||
{ | ||
"name": "_s0._did.", | ||
"type": "TXT", | ||
"ttl": 7200, | ||
"rdata": [ | ||
"id=service-1;t=TestLongService;se=https://test-lllllllllllllllllllllllllllllllllllooooooooooooooooooooonnnnnnnnnnnnnnnnnnngggggggggggggggggggggggggggggggggggggsssssssssssssssssssssssssseeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrvvvvvvvvvvvvvvvvvvvviiiiiiiiiiiiiiii", | ||
"iiiiiiiiiiiiiiiccccccccccccccccccccccccccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.com/1" | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.