publicKeyJwk, publicKeyBase58.... you should only be allowed to use 1 of these in a did core vm.
Someday it will be obvious which of these is the most common for all key types.
cc @msporny as discussed on the call.
Yes, agreed... the reasoning being that we don't want people to try to express the same key in two different formats and accidentally put in two different keys. By restricting to one used vs. the other, we eliminate a lot of error checking code.
I believe a normative statement here, would address this issue:
https://w3c.github.io/did-core/#verification-methods
we should generalize this to account for non public key verification material.
We need to add guidance that you cannot include multiple key representations in the same verification method. needs pr.
Needs a PR
Looks like this is done and can be closed?
agreed, this should be closed.
Issue submitter agrees that the issue has been addressed. Closing.
Most helpful comment
Yes, agreed... the reasoning being that we don't want people to try to express the same key in two different formats and accidentally put in two different keys. By restricting to one used vs. the other, we eliminate a lot of error checking code.