You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Holder performing a presentation uses this library's helper functions of the form usingSessionTranscript_____. Under the covers these construct appropriately formed CBOR-encodings of a DataItem using custom extensions to an external CBOR library. Without access to those custom CBOR extensions, how can a Verifier make the same calculation?
I could see two potential solutions:
the library exports its cborEncode function so that verifiers can use it to calculate what the session transcript bytes should be; or
additional helper functions like the usingSessionTranscript_____ on DeviceResponse are added to the Verifier class so that they can be called instead.
The text was updated successfully, but these errors were encountered:
+1, there is no need for the verifier to know how to construct the session transcript. We are implementing option 2 for v2 (see #16)
In the meantime, you need to install cbor-x as dependency (DataItem is already exported by the lib):
A Holder performing a presentation uses this library's helper functions of the form
usingSessionTranscript_____
. Under the covers these construct appropriately formed CBOR-encodings of a DataItem using custom extensions to an external CBOR library. Without access to those custom CBOR extensions, how can a Verifier make the same calculation?I could see two potential solutions:
cborEncode
function so that verifiers can use it to calculate what the session transcript bytes should be; orusingSessionTranscript_____
onDeviceResponse
are added to theVerifier
class so that they can be called instead.The text was updated successfully, but these errors were encountered: