Skip to content

Latest commit

 

History

History

0048-trust-ping

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Nessus DidComm: Trust Ping 2.0

Related:

Summary

Describe a standard way for agents to test connectivity, responsiveness, and security of a pairwise channel.

Motivation

Demonstrate the use of encrypted DIDComm V2 message from Trust Ping semantics

Message Details

Sender (Alice) creates TrustPing

On the wire, the Trust Ping message is signed and encrypted Note, the first Trust Ping may contain a Did Document attachment for the Invitee

{
  "id":"4d6b6d9b-f6ea-4df4-82f5-fe4b3b07c37b",
  "type":"https://didcomm.org/trust-ping/2.0/ping",
  "from":"did:peer:2.Ez6LSg9htFVk4qAuYs17jDEAhhHCx8WqdMTuzhjZ98uVSDa5C.Vz6MkgqCUy43arZurXPMC1q3yHBbN1E1q1e6rDvzbw8pJz8iD.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL2xvY2FsaG9zdDo5MDAwIn0",
  "to":[
    "did:peer:2.Ez6LSndYoiE8pUsWL88uZjvL1g111gvFAZCp74hJBUWG5QoRt.Vz6MktexTRqDqUqkjLYBzjFB2pKXDQUf9TVUoDNEnN6nt7fZb.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL2xvY2FsaG9zdDo5MDAwIn0"
  ],
  "created_time":1680583120,
  "expires_time":1680669520,
  "body":{
    "comment":"Ping from Alice",
    "response_requested":true
  }
}

Receiver (Acme) creates TrustPing Response

On the wire, the Trust Ping Response message is signed and encrypted Note, a Trust Ping Response may use fromPrior to communicate a change of recipient Did

{
    "id":"40fbdb36-f75f-43f6-ad84-610af6a96b3c",
    "thid":"4d6b6d9b-f6ea-4df4-82f5-fe4b3b07c37b",
    "type":"https://didcomm.org/trust-ping/2.0/ping-response",
    "from":"did:peer:2.Ez6LSgjK6Ud6LWB5gQNBVBxJ2qa9674Tud6orKZeGxH88yH1d.Vz6MkmceKVRBgkx61ejte9iY1R9NauHcjike8xQuJS6NhLsVC.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL2xvY2FsaG9zdDo5MDAwIn0",
    "to":[
        "did:peer:2.Ez6LSg9htFVk4qAuYs17jDEAhhHCx8WqdMTuzhjZ98uVSDa5C.Vz6MkgqCUy43arZurXPMC1q3yHBbN1E1q1e6rDvzbw8pJz8iD.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL2xvY2FsaG9zdDo5MDAwIn0"
    ],
    "created_time":1680583120,
    "expires_time":1680669520,
    "body":{
        "comment":"Pong from Faber"
    }
}