Skip to content

Commit

Permalink
feat: updated article.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tekum-Emmanuella committed Nov 6, 2024
1 parent cc14bff commit 7e0f9d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/edge-device-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ With the growth of IoT and connected devices, secure, private communication betw

![sample cloud services](basic-flow.png)

# Benefits of DIDComm Messaging for Edge Devices
### Benefits of DIDComm Messaging for Edge Devices
* **Enhanced Security:** Encryption protects message content, even when routed through intermediaries.
* **Privacy Preservation:** Only routing information is visible to intermediaries, keeping message content confidential.
* **Decentralization:** Devices control the communication flow without reliance on centralized systems.
* **Reliable Message Delivery:** Coordinated through a Mediator, communication remains effective even in complex networks.
This guide outlines the DIDComm messaging process, including participant roles, secure key exchange, and message flow, with an emphasis on privacy and security.

## Key Roles in DIDComm Messaging
### Key Roles in DIDComm Messaging
* **Mediator**
The Mediator facilitates message routing between devices, handling tasks such as forwarding, error management, and key updates. This support allows devices to connect securely, even in networks with limited reachability.

## Alice (Edge Device)
### Alice (Edge Device)
Alice is a device initiating communication with Bob. She first connects with the Mediator to obtain routing information, establishing a secure, private channel.

## Bob (Edge Device/Recipient)
### Bob (Edge Device/Recipient)
Bob is the intended recipient of Alice’s messages. However, he can also initiate communication, allowing for dynamic role interchangeability between devices.

## DIDComm Messaging Phases
Expand All @@ -41,9 +41,9 @@ Alice and Bob exchange messages with the Mediator’s support:
* **Message Pickup:** Alice periodically checks with the Mediator for incoming messages.
* **Message Creation and Delivery:** Alice encrypts a message for Bob, which the Mediator securely forwards without viewing its content.
* **Acknowledgment:** Bob decrypts and reads Alice’s message, then sends an acknowledgment back to confirm delivery.
## Security, Privacy, and Decentralization in DIDComm
### Security, Privacy, and Decentralization in DIDComm
DID
DIDComm supports role interchangeability, allowing devices to dynamically switch between sender and recipient roles. Privacy is maintained as the Mediator only unpacks routing information, keeping the actual message confidential.

## Conclusion
### Conclusion
DIDComm messaging offers a robust framework for private, secure communication between devices. By coordinating through a Mediator, devices like Alice and Bob can connect reliably even in complex network setups.

0 comments on commit 7e0f9d0

Please sign in to comment.