graphprotocol / graphprotocol/hypergraph
Updates must be connected to a space event
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 22
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This is important to ensure that the client has all the latests keys before decrypting it.
In addition we want to ensure that the server can't inject an update from an already remove member as a new update. To do this new encrypted updates can only reference the current or newer space events. Using the clock and the references we can check for this rule.
The information should be stored in the AAD (additional authenticated data) of the AEAD ciphertext. This way also the server can verify it's correctness and reject old updates in case a newer space event already exist.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイルやテストは指定されていないため、まず暗号化された更新を作成し、スペースイベントのクロックと参照を処理する TypeScript コードを見つけます。AAD がどのように構築されるかを確認し、更新が現在のスペースイベントまたはそれより新しいスペースイベントを参照すること、また古いメンバーや削除されたメンバーの更新が拒否されることを示すテストを定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- cryptography, security
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100