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

Abierto
#33 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
go
Área
search

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
5
Forks
9
Merge medio
22 h 1 min
PR fusionados (30 d)
21

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de transparency-dev/incubator

Todos los issues de transparency-dev/incubator

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.