Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[TSP] Don't send the entire TSP-signed message in the message content's signature field

オープン
#599 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

blocked tsp

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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

project-robius/robrix のほかの issue

project-robius/robrix の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。