AbsaOSS / AbsaOSS/vcxagencynode

Handle both legacy and current @type values in forward messages

未關閉
#119 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
23
分支
8
PR 合併指標
30 天內沒有已合併 PR

描述

Currently, agency expects and uses legacy `@type` attribute for forward messages:
```
did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/routing/1.0/forward
```

However, as per aries spec (see [here](https://github.com/hyperledger/aries-rfcs/blob/08653f21a489bf4717b54e4d7fd2d0bdfe6b4d1a/concepts/0020-message-types/README.md#aries-core-message-namespace)), a different value should be used for the attribute:
```
https://didcomm.org/routing/1.0/forward
```

Agency should support both formats for some time in order to remain backwards compatible.

Analogous change was already implemented in aries-vcx (see [here](https://github.com/hyperledger/aries-vcx/pull/341)).

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。