Open decentralgabe opened 3 months ago
these look good to me
currently for did jwk we only have resolve
test for secp256k1 and Ed25519 so not enough for a full checkmark ❌ Its a bit of chicken and egg, because I would like to make these tests with the rust cli.. but we need to build these key types and add them to cli.
I think they are getting added now basically so this would be a good vector to improve upon and get a ✅ for, but lol as soon as I add the other key tyeps it will break all other repos for this vector (as expected, but painful)
As another thing I was talking to @KendallWeihe about, and curious to your take @decentralgabe , for something like did:dht publish, would you expect sdks do it 'for real' and do an http request, or you expect they will have to implement some mocking stuff.
Or could each sdk decide on their own? maybe js does mocking but rust just 'does it for real over the network' but knowing there could be intermittent failures
mocking would probably be sufficient, as long as the test vector is able to show conformance with the DHT API
This issue outlines gaps in testing of various DID methods and DID capabilities. Tasks may have partial test coverage today (linked if true). If sufficient test coverage already exists, please close the task and link the relevant test.
Tasks may need discussion on the best way to approach them. The goal is to create a set of language agnostic test vectors that give us sufficient confidence in maintaining interoperability of features between implementations.
https://tbd54566975.github.io/web5-spec/#decentralized-identifiers-dids https://tbd54566975.github.io/web5-spec/#did-document-data-model https://tbd54566975.github.io/web5-spec/#did-resolution-metadata-data-model https://tbd54566975.github.io/web5-spec/#did-document-metadata-data-model
did:jwk
did:web
did:dht
Can be based off of the spec test vectors.
DID Data Models