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
since the did_resolver_sov crate is just using the ledger's returned verkey as the publicKeyBase58 for the DID's didDoc.verificationMethod[0], the DIDDoc ends up looking like:
This is ofcourse invalid. It should be the responsibility of the did_resolver_sov crate to notice if the get_nym verkey is in it's abbreviated form (tilda prefix), and if it is, then it should transform the NYM+Abbreviated-Verkey into the full Verkey, which can then be set as publicKeyBase58.
The text was updated successfully, but these errors were encountered:
part of this series of issues; https://github.com/hyperledger/aries-vcx/issues/
On sovrin ledgers, it is possible to register a NYM's verkey in an abbreviated form with a tilda prefix (e.g.
~CoRER63DVYnWZtK8uAzNbx
). Some indy notes on this here: https://hyperledger-indy.readthedocs.io/projects/sdk/en/latest/docs/getting-started/indy-walkthrough.html#step-3-getting-the-ownership-for-steward-s-verinym.This abbreviated verkey is also what the ledger returns when you do a get_nym:
since the did_resolver_sov crate is just using the ledger's returned
verkey
as thepublicKeyBase58
for the DID'sdidDoc.verificationMethod[0]
, the DIDDoc ends up looking like:This is ofcourse invalid. It should be the responsibility of the did_resolver_sov crate to notice if the get_nym verkey is in it's abbreviated form (tilda prefix), and if it is, then it should transform the NYM+Abbreviated-Verkey into the full Verkey, which can then be set as
publicKeyBase58
.The text was updated successfully, but these errors were encountered: