question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getVerificationMethod should be framing the verificationMethod URI

See original GitHub issue

Ed25519Signaute2020#getVerificatoinMethod should frame proof.verificationMethod like the base LinkedDataSignature#getVerificationMethod.

If the framing doesn’t happen within the signature suite the framing/deferencing then it is up to the documentLoader to handle that (which is happening here in the tests). But that puts more requirements on the user to know how to handle framing/deferencing from within their documentLoader (and handling it for all the different sig suites).

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
OR13commented, Aug 2, 2021

To be clear, documentLoaders are “DID Dereferencers”, if they process content type and fragments… thats a step after resolution.

1reaction
dlongleycommented, Jul 22, 2021

So I proposed this above:

A possible compromise position would be for the signature suite to first check if the ID of the returned document matches the verification method ID – and, if not, use framing. This would be an automatic process that would avoid framing in cases where the user provided a document loader that fully dereferences DID URLs vs. one that just returns a document in which the referenced entity exists somewhere – leaving the suite to do the rest of the dereferencing via the framing operation.

https://github.com/digitalbazaar/jsonld-signatures/issues/141#issuecomment-834011841

If that were implemented, would it solve everyone’s problems here? Or would something more be required?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Framing the URI Resource Identity Problem - David Booth
This paper describes the fundamental use case of the Semantic Web: that a semi-autonomous agent should be able to sensibly merge two RDF....
Read more >
Student Handbook - The University of Rhode Island
To access educational records, eligible students must submit a written ... URI FERPA Contact: Questions concerning student rights under FERPA should be sent ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found