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

Aperta
#33 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go
Ambito
search

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
5
Fork
9
Merge medio
22h 1m
PR unite (30g)
21

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di transparency-dev/incubator

Tutte le issue di transparency-dev/incubator

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.