[VIndex] Consider changing keys in index from fixed-size hashes to a prefix trie

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go
領域
search

調査の方向性

Read the VIndex README at vindex/ and compare its current fixed-size hash bucket model with the proposed raw-key prefix trie. Consider the maps.google.com and .com.google.maps examples, along with ecosystems beyond Certificate Transparency. Done means the project has a decided direction for the MapFn key representation.

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

説明

enhancement

The main README for the VIndex has the following:

[!IMPORTANT]
This describes the MapFn as returning key hashes.
We may want to have the map return the raw key (e.g. maps.google.com) so that a prefix trie can be constructed.

Raising this issue as a place for discussion on this.

The current implementation explicitly slots each entry into discrete buckets, in the form of a hash. For example, in CT a cert for maps.google.com will be indexed at:

  • H("maps.google.com")
  • H("google.com")

Early feedback on the map has suggested that it would be more natural to have this simply return a string, e.g. ".com.google.maps". This would then allow the domain operator to look up all domains and subdomains by searching the prefix trie index for ".com.google".

There are arguments both ways, so raising this issue as a lightning rod for transparent discussion on which direction is most useful. Note that this must consider ecosystems other than only CT.

主要言語
Go
スター
5
フォーク
9
平均マージ
22時間 1分
マージ済み PR(30日)
21

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

transparency-dev/incubator のほかの issue

transparency-dev/incubator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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