graphprotocol / graphprotocol/hypergraph

Updates must be connected to a space event

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

まだ誰も着手していません。

Improved Sync
主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

ファイルやテストは指定されていないため、まず暗号化された更新を作成し、スペースイベントのクロックと参照を処理する TypeScript コードを見つけます。AAD がどのように構築されるかを確認し、更新が現在のスペースイベントまたはそれより新しいスペースイベントを参照すること、また古いメンバーや削除されたメンバーの更新が拒否されることを示すテストを定義します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
cryptography, security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

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

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