[TSP] Don't send the entire TSP-signed message in the message content's signature field
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
Start with the TSP SDK issue 218 and the integration entry point that calls sign_anycast(). Trace how its byte array is placed in the Matrix event content's org.robius.tsp_signature field, then confirm how the message payload is already represented in the room event. Done means the signature field contains only the TSP signature and header after the SDK supports separating them.
索引モデルが issue の本文から書いたものです。
説明
The TSP SDK's sign_anycast() function returns a single byte array that contains the TSP signature, header, and message payload all in one big contiguous chunk.
This is quite inefficient; ideally, we do not want to send the entire message content in the org.robius.tsp_signature field, because it is already included in the Matrix room message event content itself, meaning that the message payload actually gets sent twice.
The other problem with this is that there is a size limit on the content field, so adding large custom subfields is a nonstarter, which will happen for large messages like long text, images, files, etc.
Instead, we should separate out the TSP signature & header from the message payload itself, and include the non-payload bytes only in the content's org.robius.tsp_signature field.
Blocked on this issue from the TSP SDK. See that issue for more info.
- 主要言語
- Rust
- スター
- 489
- フォーク
- 71
- 平均マージ
- 1時間 27分
- マージ済み PR(30日)
- 72
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
project-robius/robrix のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
project-robius/robrix#1154 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
project-robius/robrix#1155 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 12/100
project-robius/robrix#1153 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
project-robius/robrix#1152 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
project-robius/robrix#1151 ·
メンテナーはふだん 1 日以内に返信
project-robius/robrix の issue をすべて見る
似ている issue
-
priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
storytold/photocraft#6759 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
area:logging documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hugowis/open-fpv-sim#48 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
IngvarConsulting/unica#1537 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100