The returned VMs should be re-evaluated against the spec. a few notes:
we should have testing against the spec.
DidDocument {
id: Did {
did: "did:sov:Dd92jXuEvTerjhTiKnSc27",
method: Some(
"sov",
),
id: "Dd92jXuEvTerjhTiKnSc27",
namespace: None,
},
also_known_as: [],
controller: None,
verification_method: [
VerificationMethod {
id: DidUrl {
did_url: "#1",
did: None,
method: None,
namespace: None,
id: None,
path: None,
fragment: Some(
1..2,
),
queries: {},
},
controller: Did {
did: "did:sov:Dd92jXuEvTerjhTiKnSc27",
method: Some(
"sov",
),
id: "Dd92jXuEvTerjhTiKnSc27",
namespace: None,
},
verification_method_type: Ed25519VerificationKey2018,
public_key: Base58 {
public_key_base58: "7t3LhTzn6abJV3HFEwPeKb7gs7K6U4xCUeE4ezHNLcFL",
},
},
],
authentication: [],
assertion_method: [],
key_agreement: [
Resolvable(
DidUrl {
did_url: "#1",
did: None,
method: None,
namespace: None,
id: None,
path: None,
fragment: Some(
1..2,
),
queries: {},
},
),
],
capability_invocation: [],
capability_delegation: [],
service: [],
extra: {},
}
the current DidSovResolver is only returning 1 VM,
#1and it's only responsibility is "key agreement".https://sovrin-foundation.github.io/sovrin/spec/did-method-spec-template.html#crud-operation-definitions
The returned VMs should be re-evaluated against the spec. a few notes:
#1should be#key-1#key-1should be referenced in authentication and assertion lists#key-agreement-1, which should reference the X25119 version of the#key-1VMwe should have testing against the spec.
sample obj