Closed tolson4 closed 3 years ago
The delegate method on ZcapClient appears to be using an incorrect term when constructing and signing the zcap. https://github.com/digitalbazaar/ezcap/blob/d26656660d903d1409b4851dccb647264a6c49f1/lib/ZcapClient.js#L135-L137 This throws an error when the zcap is signed by jsonld signatures.
delegate
https://github.com/w3c-ccg/security-vocab/blob/e2302802b5cce3d853e3e909e2d5cc0f1b46e62f/contexts/security-v2.jsonld#L28
The
delegate
method on ZcapClient appears to be using an incorrect term when constructing and signing the zcap. https://github.com/digitalbazaar/ezcap/blob/d26656660d903d1409b4851dccb647264a6c49f1/lib/ZcapClient.js#L135-L137 This throws an error when the zcap is signed by jsonld signatures.https://github.com/w3c-ccg/security-vocab/blob/e2302802b5cce3d853e3e909e2d5cc0f1b46e62f/contexts/security-v2.jsonld#L28