IPNS pub key size concerns
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
まず、IPNS IpnsEntry の protobuf エンコーディングと、リンク先の Web Crypto 対応アルゴリズム一覧を確認します。2 つの提案された設計を比較し、実装前に具体的な仕様変更、互換性要件、受け入れ基準を定義します。
索引モデルが issue の本文から書いたものです。
説明
Recently I was told ed25519 are preferable for IPNS over other keys due to their smaller size. However it is not in the list of supported algorithms in web platform requiring bundling crypto libraries etc...
This got me thinking about potential ways to address this problem, especially since is safe to assume that over time longer keys may proof necessary.
Idea 1.
Right now public keys are endoded IpnsEntry protobuf (which is presumably where we small size is desired). In practice chances are node receiving a record already has a public key because:
- IPFS default is to use
selfkey so it was used in handshake. - Recipient has some interest in a IPNS record so key was previously obtained.
If thees assumptions holds, we could make next version of IpnsEntry encode CID for the public key instead. Furthermore small keys and rare keys could use identity hash CIDs. It is also assumed that Sequence 0 record will use identity hash.
Idea 2.
What if instead of basing mutable namespace on the public key we based it on mutex block (genesis block) CID instead that use designated muticodec code. Mutex blocks could encode multiple public keys allowed to perform updates, and also be fairly open ended to allow new or domain specific metadata to be added e.g.
- peer ids of nodes that are likely to have latest record.
- DNS alias(es)
I think this would also neatly combine IPFS and IPNS namespaces where /ipfs/$cid represents content on creation and /ipns/$cid represents content now. For /ipns/$cid where cid is not for mutex it would be identical to /ipfs/$cid because it's not a mutex so it could never change.
Additional benefit of such mutexes would be that they could cleanly integrate into IPLD as they are addresses by CID.
- 主要言語
- HTML
- スター
- 1.2k
- フォーク
- 250
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipfs/specs のほかの issue
-
need/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
need/triage
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
dnslink:// URIsオープンneed/triage
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
need/triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
volcano-sh/volcano#6323 ·
メンテナーはふだん 1 日以内に返信
-
area: facilitator bug complexity: trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
accensa/x402-facilitator-stellar#709 ·
メンテナーはふだん 1 日以内に返信
-
resiliency: ParseRetryConditionMatch fails when HTTPStatusCodes or GRPCStatusCodes contain whitespace対応中かも @patelshivani2283-lab が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[Bug] maxConcurrent{Activity,Workflow,Nexus}TaskPolls are accepted but never applied対応中かも @pcbeingused333 が 1 日前に担当しました。 オープンsdk-typescript
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
temporalio/sdk-typescript#2693 ·
メンテナーはふだん 1 日以内に返信