GithubHelp home page GithubHelp logo

jcjones / ct-sql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmhodges/certificatetransparency

14.0 14.0 4.0 1.55 MB

Certificate Transparency stuff

Home Page: https://ct.tacticalsecret.com/

License: Mozilla Public License 2.0

Go 100.00%

ct-sql's People

Contributors

agl avatar jcjones avatar jmhodges avatar jsha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ct-sql's Issues

Log directly into the `unexpired_certificates` table

The certificates table has an enormous index for notBefore and notAfter for the sake of culling the unexpired_certificates table, even for entries that are expired. Also, substantial maintenance time is spent scanning those indexes periodically to populate the unexpired_certificates table.

Definitely change ct-sql to insert relevant certificates into unexpired_certificates (PK to certificates) and consider also removing those large indexes from certificates. (But they're useful if you want to get historical data...)

Can't build using README instructions

go get github.com/jcjones/ct-sql/cmd/ct-sql fails with the following error, not sure if this is a global issue or something with my setup.

# github.com/jcjones/ct-sql/cmd/ct-sql
go/src/github.com/jcjones/ct-sql/cmd/ct-sql/main.go:84: not enough arguments in call to client.New
go/src/github.com/jcjones/ct-sql/cmd/ct-sql/main.go:84: multiple-value client.New() in single-value context

Use a separate table to track most recent log entries

Currently need to use a MAX(logEntryID) query to figure out what to load from, for a given CT log. This could be a cache table that also includes a timestamp of the most recent connection, and most recent completion.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.