Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI shows truncated output when resolving DID #523

Closed
mirceanis opened this issue May 18, 2021 · 0 comments · Fixed by #524
Closed

CLI shows truncated output when resolving DID #523

mirceanis opened this issue May 18, 2021 · 0 comments · Fixed by #524
Assignees
Labels
bug Something isn't working

Comments

@mirceanis
Copy link
Member

Bug severity
2

The veramo CLI did resolution doesn't print the entire JSON tree.

veramo did resolve did:ethr:rinkeby:0x02cfd019a2fc0cb0967ce9d86db63abe762d0ab886d39a7392239016e89557b5e3

prints a truncated output for verificationMethod:

{
  didDocumentMetadata: {},
  didResolutionMetadata: { contentType: 'application/did+ld+json' },
  didDocument: {
    '@context': [
      'https://www.w3.org/ns/did/v1',
      'https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-0.0.jsonld'
    ],
    id: 'did:ethr:rinkeby:0x02cfd019a2fc0cb0967ce9d86db63abe762d0ab886d39a7392239016e89557b5e3',
    verificationMethod: [ [Object], [Object] ],
    authentication: [
      'did:ethr:rinkeby:0x02cfd019a2fc0cb0967ce9d86db63abe762d0ab886d39a7392239016e89557b5e3#controller',
      'did:ethr:rinkeby:0x02cfd019a2fc0cb0967ce9d86db63abe762d0ab886d39a7392239016e89557b5e3#controllerKey'
    ],
    assertionMethod: [
      'did:ethr:rinkeby:0x02cfd019a2fc0cb0967ce9d86db63abe762d0ab886d39a7392239016e89557b5e3#controller',
      'did:ethr:rinkeby:0x02cfd019a2fc0cb0967ce9d86db63abe762d0ab886d39a7392239016e89557b5e3#controllerKey'
    ]
  }
}

Versions (please complete the following information):

  • Veramo: 1.2.0
  • Node Version 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant