vc-api
vc-api copied to clipboard
Update derive endpoint for compatibility with current selective disclosure specifications
There are currently two VC specifications in process that support selective disclosure: Data Integrity ECDSA Cryptosuites v1.0 and BBS Cryptosuite v2023. Currently the derive endpoint supports the following properties: verifiableCredential
, frame
, and options
.
Neither selective disclosure specification utilizes JSON-LD framing anymore hence the frame
field should be deprecated. Instead both specifications use selectivePointers
, an array of JSON pointers, to specify selectively disclosed claims.
Based on discussions on the 2024-01-30 VC-API call it was suggested that a selectivePointers
attribute be added to the options
property to accommodate selective disclosure via the current specifications.