transparency-dev / trillian-tessera

Go library for building tile-based transparency logs (tlogs)
Apache License 2.0
11 stars 11 forks source link

Pass a signer to Tessera #126

Closed phbnf closed 3 months ago

phbnf commented 3 months ago

This PR makes it possible to sign https://c2sp.org/static-ct-api checkpoints, and passes a signer to Tessera.

Before we can pass a Checkpoint signer to Tessera, we need to initiate the time source and crypto.signer, so I had to re-architecture the code a bit before that.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 31.08108% with 51 lines in your changes missing coverage. Please review.

Project coverage is 34.92%. Comparing base (46ec9c2) to head (cbe28e3). Report is 47 commits behind head on main.

Files Patch % Lines
personalities/sctfe/serialize.go 22.80% 44 Missing :warning:
personalities/sctfe/ct_server_gcp/main.go 0.00% 5 Missing :warning:
personalities/sctfe/instance.go 81.81% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #126 +/- ## ========================================== - Coverage 35.80% 34.92% -0.89% ========================================== Files 16 33 +17 Lines 1363 2772 +1409 ========================================== + Hits 488 968 +480 - Misses 801 1696 +895 - Partials 74 108 +34 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.