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

verificationMethod property in Example 2 authentication verification relationship will cause interop issues #3

Open
kdenhartog opened this issue Jan 11, 2022 · 0 comments

Comments

@kdenhartog
Copy link

Hey was just reviewing this for the purposes of the method registration and I noticed that you defined the verificationMethod reference inside the did document is different than what is most commonly done. You provided the following in Example 2:

{
        "type": "Secp256r1SignatureAuthentication2018",
        "verificationMethod": "did:bluetoqueagent:BF5pxRJP6THrUtlDdhh07hJEDKrJxkcR9m5u1xs33bhp#keys-1"
}

However verificationMethod property is not commonly structured in this way when you're intending to reference a different VM in the DID Document. The most common pattern in use is to include just the DID URL to reference to the VM in the verificationMethod property above in order to interoperably show the relationship between the authentication verification relationship and the VM.

Based on memory there's nothing illegal about the way you've structure this according to did-core but you're likely to hit interop issues when a did document relying party attempts to process this did document to get a public key out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant