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

chore: enable optional verification_method for DID Document #233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 13, 2024

  1. fix: verification_method is not required for DID Document

    Re. https://www.w3.org/TR/did-core/#did-document-properties, the
    veriication_method property is not required. In fact, the TBD-hosted
    DID document used is tests does not include the Verification method.
    
    Make it optional, especially during (de-)serialization to ensure
    compatibility with the spec.
    
    Note: the web5-spec disagrees with the DID-core spec on this, it may
    be a legacy but it's possible the web5-spec should be updated as well
    to match did-core.
    enmand committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    bbcc036 View commit details
    Browse the repository at this point in the history