You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also note that this is a somewhat trivial fix, other than computing the #key-agreement-1 key. That will require a cryptographic conversion from the Ed25519 base58 pubkey to X25519 base58 pubkey
The text was updated successfully, but these errors were encountered:
https://github.com/hyperledger/aries-vcx/blob/main/did_core/did_methods/did_resolver_sov/src/resolution/utils.rs#L106C9-L106C54
The DIDDoc returned from
.resolve
of thedid_resolver_sov
crate does not have verification methods set in line with the spec.https://sovrin-foundation.github.io/sovrin/spec/did-method-spec-template.html#crud-operation-definitions
My reading of the spec is that you're meant to do the following for verification methods:
verificationMethod
array:did:sov:...#key-1
&did:sov:...#key-agreement-1
did:sov:...#key-1
as a reference in theauthentication
andassertionMethod
arraysdid:sov:...#key-agreement-1
as a reference in thekeyAgreement
arraye.g.:
Whereas we are returning:
Also note that this is a somewhat trivial fix, other than computing the
#key-agreement-1
key. That will require a cryptographic conversion from the Ed25519 base58 pubkey to X25519 base58 pubkeyThe text was updated successfully, but these errors were encountered: