Closed Patrik-Stas closed 8 months ago
The conclusion on Aries Contributors call was that while this seems like a good idea and didcomm v2 is addressing the issue, it would be breaking to do this changes in existing implementations, which rely on both services
formats.
Hi, please take this with a grain of salt, I am looking just to hear some of your thoughts to see what's the community thinking. Not looking to break applications and give implementors new headaches.
Currently the way out of band RFC is defined, it's possible the objects under
services
attribute can be either:Example from the oob spec:
Back in the days when did:peer was not yet widely adopted, I can see how this was useful.
However nowadays,
did:peer
seem to be superior & cleaner approach to achieve the same: Instead of building up and embedding service object as on example, I can include the service information as part ofdid:peer
.In didcomm v2, apparently a lesson was taken from here, as there's only
from
field which IS a single DIDI am wondering if while didcomm v1 is still used a lot out there in wild, whether it the community would find it reasonable to make ammendments to Aries OOB protocol to address the issue. I don't mind how that would be done, but I'd like to see if we can do something. (I can imagine a major bump with breaking change, or minor version ammendment simply adding new "from" field which shall be preferred in favor of "services"). One way to think about this is taking baby step towards didcomm v2 in a way becoming more similar. Major benefit I see in simplifying implementations. We tried to support both forms (did, embedded) in
aries_vcx
implementation and obviously things would be simpler if we have guarantee that we just need to "think in DID terms".