Git Product home page Git Product logo

Comments (8)

AlCutter avatar AlCutter commented on May 3, 2024

There are other potential solutions too:
e.g. a deterministic function which looks at each Trillian STH, and determines whether it should be promoted to a CT STH (noddy example: TrillianSTH.RootHash%n == 0) - this should result in tuneably fewer STHs being emitted by the Log. And since the function is deterministic, each CTFE would naturally promote the same selection of Trillian STHs without requiring any form of coordination. (I can see a few wrinkles in here, but it's an avenue of thought at least.)

from certificate-transparency-go.

Martin2112 avatar Martin2112 commented on May 3, 2024

from certificate-transparency-go.

daviddrysdale avatar daviddrysdale commented on May 3, 2024

So I guess there are two factors that make STHs more individually identifiable for Trillian than for previous log implementations:
a) The Trillian logsigner runs very frequently, and so issues STH more frequently & with finer granularity (i.e. smaller gap in tree size between one STH and the next).
b) The CTFE re-signs every time it is asked for an STH.

An initial pair of simplistic things to do might be to:
a) Increase the --sequencer_interval for the logsigner to something larger (5m?)
b) Have each CTFE instance locally cache the last-sth signature, and re-use the signature if the Trillian backend returns the same log root as previously.

Those are both easy to do, but are they enough to reduce the fingerprinting concerns?

from certificate-transparency-go.

AlCutter avatar AlCutter commented on May 3, 2024

Simple-thing-do-to-(a) will only work if there are fewer than batch_size certs coming along within whatever value you set --sequencer_interval to, I think. In the case where there's more work to do that can be done in one batch, the sequencer should be busy looping until it's cleared the backlog, and that'll produce a series of Trillian STHs in quick succession.

from certificate-transparency-go.

Martin2112 avatar Martin2112 commented on May 3, 2024

Do we think the STH cache is enough for the moment or should we do more?

from certificate-transparency-go.

paulmattei avatar paulmattei commented on May 3, 2024

@rolandshoemaker running through our backlog. Per Martin's comment, is the STH cache sufficient? Thanks!

from certificate-transparency-go.

rolandshoemaker avatar rolandshoemaker commented on May 3, 2024

Seems like a reasonable solution to me.

from certificate-transparency-go.

pavelkalinnikov avatar pavelkalinnikov commented on May 3, 2024

Closing. Will re-open if STH cache becomes insufficient.

from certificate-transparency-go.

Related Issues (20)

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.