did-resolution icon indicating copy to clipboard operation
did-resolution copied to clipboard

About resolving protocol question

Open zhanb opened this issue 4 years ago • 2 comments

Hi, I've been following did for a long time, I want to know besides HTTP (s) + JSON, is there any plan to support COAP + CBOR for did resolution ?

zhanb avatar Jan 07 '21 07:01 zhanb

Coming back to this issue after a while...

I think there are currently no plans in the DID WG to specify a binding other than the HTTP(S) Binding.

Regarding CBOR, there is a Note document that defines a CBOR representation for DID documents: https://www.w3.org/TR/did-cbor-representation/

Maybe this answers the question?

peacekeeper avatar Sep 05 '24 16:09 peacekeeper

This came up in a meeting today, so I started looking into it. CoAP (Constrained Application Protocol; RFC 7252) is a UDP protocol that is used in home automation where packet sizes need to be small.

As @peacekeeper mentioned, the DID WG doesn't currently have plans to work on this. However, if there were an uptick in IoT DID users, the group might consider it. In the meantime, the Matrix.org Foundation has provided source for a CoAP <-> HTTP proxy (https://github.com/matrix-org/coap-proxy). This should let IoT developers convert between the 2 protocols in order to use DIDs in those types of IoT environments.

Great question, but CoAP support isn't currently on our roadmap.

mccown avatar Oct 11 '24 15:10 mccown

Closing after today's DID WG meeting.

peacekeeper avatar Nov 14 '24 17:11 peacekeeper