decentralized-identity / decentralized-web-node

Decentralized data storage and message relay for decentralized identity and apps.
https://identity.foundation/decentralized-web-node/spec/
Apache License 2.0
402 stars 79 forks source link

Why isn't DIDComm messaging used for messages? #100

Open RieksJ opened 2 years ago

RieksJ commented 2 years ago

When I glanced at the draft spec, it occurred to me that messages are being specified, which made me wonder why DIDComm isn't used for that.

kdenhartog commented 2 years ago

There's been some ongoing discussion about this between @csuwildcat and @TelegramSam and I think we are working towards making things work that way.

mwherman2000 commented 2 years ago

One simple solution to rationalize the architecture is to use DWNs as the storage (agent) layer below a DIDCOMM agent layer. A DIDCOMM agent uses one or more DWNs for its storage. Flipping it around, a layer of DIDCOMM agents serve as decentralized compute/ML/AI/messaging/relay nodes over top of a layer/network of DWNs (aka storage agent layer/network).

andorsk commented 1 year ago

@RieksJ A DWN protocol can be defined (in theory) to work with DIDComm. The companion guide being written will be informing more about the relationship between DIDComm and DWNs, and should be able to address this question more directly.

andorsk commented 1 year ago

Discussed on DIF:

When we build an implementation of DIDComm over DWN or a better view of compatibility we will close this issue.