ToolT9
Session-transcript viewer
An mdoc presented online is tied to one request through its session transcript. Change the request’s values and watch the handover info, its hash, the handover and the transcript rebuild in your browser OPENID4VP-1.0 §B.2.6.1 OPENID4VP-1.0 §B.2.6.2; then see a device signature over this session fail in a second one OPENID4VP-1.0 §14.1.2. It opens on OpenID4VP’s own example values.
From request to transcript
The request’s values
- client_id
- x509_san_dns:example.comWith its Client Identifier Prefix
- nonce
- exc7gBkxjx1rdc9udRrveKvSsJIq80avlXeLHhGwqtAFresh for each request OPENID4VP-1.0 §14.1.2
- response_uri
- https://example.com/response
- Verifier’s key thumbprint
- QoPsknrg8gjaqi0CaoFPKyLcpSz4X_qPP4Ymxr1mkEcRFC 7638, over the required members of the key the response is encrypted to RFC7638 §3
OpenID4VPHandoverInfo, in CBOR
Hex and diagnostic notation 847818783530395f73616e5f646e733a6578616d706c652e636f6d782b6578633767426b786a7831726463397564527276654b7653734a4971383061766c58654c4868477771744158204283ec927ae0f208daaa2d026a814f2b22dca52cf85ffa8f3f8626c6bd669047781c68747470733a2f2f6578616d706c652e636f6d2f726573706f6e7365 ["x509_san_dns:example.com", "exc7gBkxjx1rdc9udRrveKvSsJIq80avlXeLHhGwqtA", h'4283ec927ae0f208daaa2d026a814f2b22dca52cf85ffa8f3f8626c6bd669047', "https://example.com/response"]Its SHA-256
- SHA-256
- 048bc053c00442af9b8eed494cefdd9d95240d254b046b11b68013722aad38ac
OpenID4VPHandover
Hex and diagnostic notation 82714f70656e494434565048616e646f7665725820048bc053c00442af9b8eed494cefdd9d95240d254b046b11b68013722aad38ac ["OpenID4VPHandover", h'048bc053c00442af9b8eed494cefdd9d95240d254b046b11b68013722aad38ac']SessionTranscript
Hex and diagnostic notation 83f6f682714f70656e494434565048616e646f7665725820048bc053c00442af9b8eed494cefdd9d95240d254b046b11b68013722aad38ac [null, null, ["OpenID4VPHandover", h'048bc053c00442af9b8eed494cefdd9d95240d254b046b11b68013722aad38ac']]Online, the two places that hold the device engagement and the reader’s key in person are null, and the handover is OpenID4VP’s.
Agrees with the specification The handover info, the handover and the transcript are byte for byte the ones OpenID4VP prints (Appendix B.2.6.1).
| Session | What differs | Transcript | The signature verifies |
|---|---|---|---|
| This one | Nothing | 83f6f682714f7065… | Yes |
| A new request | nonce inhIIx3hAh7h… | 83f6f682714f7065… | No |
The device’s key is made in this page for the run. What the verifier checks is the same: the signature covers the transcript of its own request, so a response recorded in one session does not verify in another OPENID4VP-1.0 §14.1.2.
The device signs the session transcript as part of its response OPENID4VP-1.0 §B.2.5, and the transcript holds a hash of the verifier’s identifier, the nonce and, for an encrypted response, the thumbprint of the key the response is encrypted to RFC7638 §3. A recorded response therefore fails for another verifier or another request. In person, the transcript holds the device engagement and the reader’s key instead, set up over NFC or a QR code (7.4 In person: proximity presentation); the only published examples of that are in the ISO text, which may be read but not copied, so this page does not carry them.
- OPENID4VP-1.0 OpenID for Verifiable Presentations 1.0
- RFC7638 JSON Web Key (JWK) Thumbprint