Last active
February 19, 2025 14:02
-
-
Save dhh1128/6d7d85753356b943cc4df858ff61e913 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"header": { | |
"alg": "EdDSA", | |
"typ": "passport", | |
"ppt": "vvp", | |
// OOBI of AID for (signing software invoked by SBC of) OP | |
"kid": "https://wit1.provenant.net:5631/oobi/E0F9C28367E4011E7BA587831C1B8DEBA/witness", | |
} | |
"payload": { | |
// originating TN in E164 format; see https://www.rfc-editor.org/rfc/rfc8225#section-5.2.1 | |
"orig": {"tn": ["+33612345678"]}, | |
// dest TN in E164 format | |
"dest": {"tn": ["+33765432109"]}, | |
// Optional brand properties; see https://bit.ly/3DykInh | |
"card": ["NICKNAME:Examples-R-Us", "CHATBOT:https://example.com/chatwithus", | |
"LOGO;HASH=EK2r6EnDXre2pecTBO8s99j4OtNaaDIhVyr7uGugDhmp;VALUE=URI:https://example.com/logo64x48.png"], | |
// Suboptimal. Prefer "goal" field instead of "call-reason". | |
"call-reason": "schedule next appointment", | |
// OOBI of dossier referencing relevant evidence. Comes from evd arg to signing service. | |
"evd": "https://acme.com/E2Mr6EnDXre2pecTBO8s99j4OtNaaDIhVyr7uGugDhK4/dossier.cesr", | |
"origId": "e0ac7b44-1fc3-4794-8edd-34b83c018fe9", | |
"iat": 1699840000, | |
//default is 30 second expiration | |
"exp": 1699840030, | |
// Optional. Comes from request_id arg to signing service. | |
"jti": "70664125-c88d-49d6-b66f-0510c20fc3a6" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example passport you show is invalid because it has
kid
as a claim inside the payload, in addition to it appearing as a header value. It should only appear as a header. Otherwise the passport looks fine.The wording of the VVP spec has been simplified. The order of fields is not significant, as long as they are signed in the order they appear. The new wording is:
See https://dhh1128.github.io/vvp/draft-hardman-verifiable-voice-protocol.html#name-pss