Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

AuthorizationCredential: incompatibility with did:peer #57

Open
llorllale opened this issue Oct 26, 2020 · 0 comments
Open

AuthorizationCredential: incompatibility with did:peer #57

llorllale opened this issue Oct 26, 2020 · 0 comments
Labels
authz bug Something isn't working

Comments

@llorllale
Copy link
Contributor

The did:peer method spec explicitly circumvents JSON canonicalization and opts for computing the DID using the document's raw bytes. As such, transferring did:peer docs in JSON form means one cannot compute and verify the doc's contents against the ID received.

The type of DIDDoc.doc should instead be xsd:base64binary and the sender should base64-encode the document's raw bytes.

@llorllale llorllale added bug Something isn't working authz labels Oct 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
authz bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant