aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Missing goal codes in DID exchange protocol implementation

Open jleach opened this issue 2 years ago • 0 comments

The DID Exchange RFC notes the implication of a goal/code to better reason about why a connection is being established:

  "goal_code": "aries.rel.build",
  "goal": "To create a relationship",

Its also mentioned in the Out-Of-Band protocol in Invitation: https://didcomm.org/out-of-band/%VER/invitation:

  "goal_code": "issue-vc",
  "goal": "To issue a Faber College Graduate credential",

But, in the ACA-py agent Swagger docs its absent /out-of-band/create-invitation/

{
  "alias": "Barry",
  "attachments": [
    {
      "id": "attachment-0",
      "type": "present-proof"
    }
  ],
  "handshake_protocols": [
    "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0"
  ],
  "mediation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "metadata": {},
  "my_label": "Invitation to Barry",
  "use_public_did": false
}

jleach avatar Mar 03 '22 21:03 jleach