Skip to content

v0.1.2

Latest

Choose a tag to compare

@phbnf phbnf released this 15 Jul 15:34
· 22 commits to main since this release
7271283

New Contributors and Thanks!

Special thanks to folks who have filed great issues, taken the time to test new features, or helped improve Tessera and TesseraCT in any other way: @cmurphy, @AGWA, @jiemingwang, @pimvanpelt, @celia-vytrac, @asher-zs.

Top level summary

  • Trusted roots can now be automatically be fetched from CCADB, see instructions.
  • Logging now happens via slog and not klog anymore. Make sure to update flags accordingly.
  • Various panics and other bugs fixed.
  • Safer SCT serving for duplicates in #884.
  • Various reliability and performance improvements, especially for POSIX and GCP.
  • The pushback_max_dedupe_in_flight flag has been removed, use rate_limit_dedup instead

What's changed?

Full Changelog: https://github.com/transparency-dev/tessera/compare/v1.0.1..d7b88fdfe3c0b2acf7769b39e67e85116e42e635

Fetch roots from CCADB

  • Library to fetch CCADB roots by @phbnf in #654
  • Automatically fetch roots from ccadb by @phbnf in #657
  • Improve remote certificate load by @phbnf in #673
  • Back up remotely fetched roots by @phbnf in #677
  • Remote root fetching documentation by @phbnf in #688
  • Trusted root filtering by @phbnf in #698
  • Fix key under which roots are backed up by @phbnf in #701
  • Support multiple remote root servers by @phbnf in #797
  • Fix potential memory leak in roots fetcher by @AlCutter in #833

Key generation

  • Add tool for generating secret manager keys in GCP by @AlCutter in #674
  • Add key usage tag in the secret manager names by @AlCutter in #683
  • Add docs and warning around the use of latest key version alias by @AlCutter in #694

GCP

POSIX

Migrate from klog to slog

Major improvements

  • Add custom otel sampler by @AlCutter in #729
  • Always sample children of sampled parents by @AlCutter in #759
  • Add pools to reuse larger structs allocated by each incoming Add request by @AlCutter in #769
  • Carve out errors due to client cancelling the context by @phbnf in #770
  • Limit size of incoming requests by @phbnf in #814
  • Make the poll awaiter interval configurable by @phbnf in #848
  • Sanitise HTTP body closing by @mhutchinson in #865
  • [Hammer] Don't assume even intervals by @mhutchinson in #890
  • More robust SCT creation for duplicate entries by @phbnf in #886
  • Add client-side SCT verification and entry matching in hammer by @phbnf in #897
  • Log error at error level for 500 errors by @cmurphy in #894
  • Remove deprecated pushback_max_dedupe_in_flight flag by @phbnf in #903

Other

Bumps

  • Bump the all-deps group with 2 updates by @dependabot[bot] in #652
  • Bump the all-deps group with 10 updates by @dependabot[bot] in #653
  • Bump the all-deps group with 5 updates by @dependabot[bot] in #660
  • Bump the all-deps group across 2 directories with 1 update by @dependabot[bot] in #661
  • Bump github/codeql-action from 4.31.8 to 4.31.9 in the all-deps group by @dependabot[bot] in #659
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #662
  • Bump Tessera@da0fd786de1531fb8a50706e90efefa8bb44480c & tidy by @AlCutter in #663
  • Bump gruntwork-io/terragrunt-action from 3.0.2 to 3.1.0 in the all-deps group by @dependabot[bot] in #665
  • Bump the all-deps group with 9 updates by @dependabot[bot] in #666
  • Bump the all-deps group with 6 updates by @dependabot[bot] in #671
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #672
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #681
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #682
  • Bump the all-deps group with 4 updates by @dependabot[bot] in #693
  • Bump the all-deps group across 2 directories with 1 update by @dependabot[bot] in #692
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #691
  • Bump the all-deps group with 10 updates by @dependabot[bot] in #695
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #696
  • Bump github/codeql-action from 4.32.2 to 4.32.3 in the all-deps group by @dependabot[bot] in #703
  • Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 by @dependabot[bot] in #710
  • Bump github/codeql-action from 4.32.3 to 4.32.4 in the all-deps group by @dependabot[bot] in #711
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #717
  • Bumped go version from 1.24 to 1.25 by @mhutchinson in #719
  • Bumped Tessera to latest version by @mhutchinson in #720
  • Bump the all-deps group across 1 directory with 5 updates by @dependabot[bot] in #722
  • Bump tessera to cc40db422a623a56785124bf2c8c8d64e772f182 & tidy by @AlCutter in #724
  • Bump tessera to a6c6cf514da0392782dc98589fca6a6c886e8b6a & tidy by @AlCutter in #725
  • Bump tessera to 928cafc84e77f55b71354639b9c3a769a1ee4522 and tidy by @AlCutter in #735
  • Update tessera dep by @phbnf in #739
  • Bump tessera to 0a59d72873fa96e65ed1f4f44067b9873cbe0302 & tidy by @AlCutter in #746
  • Bump tessera to 21f0885b6812ac206fef824c8d08cbc9bbfd32f8 & tidy by @AlCutter in #751
  • Bump tessera to 05ff747c43888e4b42aa441f43080a560c9ae895 & tidy by @AlCutter in #752
  • Bump the all-deps group with 18 updates by @dependabot[bot] in #754
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #753
  • Bump tessera to e03a2b54d67366fb5645255e41e87310c2245d15 & tidy by @AlCutter in #758
  • Bump tessera to 42e4bb33d521c1eca3da4299b4770e2b7ceb2ec5 & tidy by @AlCutter in #766
  • Bump Tessera to d3232337ff2973df75ed1358730c0a17ceda4d48 by @phbnf in #779
  • Bump the all-deps group with 10 updates by @dependabot[bot] in #787
  • Bump google.golang.org/grpc from 1.79.2 to 1.79.3 by @dependabot[bot] in #799
  • Bump the all-deps group across 1 directory with 4 updates by @dependabot[bot] in #804
  • Bump google.golang.org/api from 0.271.0 to 0.272.0 in the all-deps group by @dependabot[bot] in #803
  • Bump Tessera to 55be0bb9dffada3e6fdba5fd20962f0e4413bf88 by @phbnf in #807
  • Bump Tessera to fix tracing by @AlCutter in #813
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #816
  • Bump the all-deps group with 7 updates by @dependabot[bot] in #817
  • Bump Tessera to 41ff86cd3cc04ea9c96a2e1019832deee6bf5b6a & tidy by @AlCutter in #821
  • Bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 by @dependabot[bot] in #822
  • Bump the all-deps group with 13 updates by @dependabot[bot] in #824
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #823
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp from 0.18.0 to 0.19.0 by @dependabot[bot] in #825
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.42.0 to 1.43.0 by @dependabot[bot] in #826
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.42.0 to 1.43.0 by @dependabot[bot] in #827
  • Bump the all-deps group with 14 updates by @dependabot[bot] in #829
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #828
  • Bump the all-deps group across 2 directories with 1 update by @dependabot[bot] in #835
  • Bump the all-deps group across 1 directory with 2 updates by @dependabot[bot] in #836
  • Bump the all-deps group across 1 directory with 14 updates by @dependabot[bot] in #844
  • Bump the all-deps group with 9 updates by @dependabot[bot] in #847
  • Bump Tessera to 5aa29ef7b028f00fe6bb0fc83b25ea387b307c68 by @phbnf in #849
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #846
  • Bump the all-deps group with 6 updates by @dependabot[bot] in #853
  • Bump the all-deps group with 4 updates by @dependabot[bot] in #852
  • Bump tessera to ebb15883e951b855bd036db478740b242c58a3f2 & mod tidy by @AlCutter in #856
  • Bump tessera to 73bf9ab53ac5273551ab48d4869d6fb8d478314e & tidy by @AlCutter in #857
  • bump tessera to db8e65f3001be44ef5118e62be4a129e60760af8 & tidy by @AlCutter in #859
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #860
  • Bump the all-deps group with 2 updates by @dependabot[bot] in #861
  • Bump the all-deps group with 6 updates by @dependabot[bot] in #863
  • Bump tessera to ab720fc8dc0e2ab7afcc41095c563d1e8f32384f by @phbnf in #864
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #862
  • Bump the all-deps group with 17 updates by @dependabot[bot] in #868
  • Bump aws-actions/configure-aws-credentials from 6.1.1 to 6.1.3 in the all-deps group by @dependabot[bot] in #867
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #870
  • Bump the all-deps group with 11 updates by @dependabot[bot] in #871
  • Bump the all-deps group with 12 updates by @dependabot[bot] in #876
  • Bump aws-actions/amazon-ecr-login from 2.1.5 to 2.1.6 in the all-deps group by @dependabot[bot] in #875
  • Bump actions/checkout from 6.0.3 to 7.0.0 in the all-deps group by @dependabot[bot] in #882
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #883
  • Bump the all-deps group across 2 directories with 2 updates by @dependabot[bot] in #881
  • Bump golang from f23e8b2 to 18b460d in /internal/hammer in the all-deps group across 1 directory by @dependabot[bot] in #887
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #889
  • Bump the all-deps group with 3 updates by @dependabot[bot] in #888
  • Bump the all-deps group with 6 updates by @dependabot[bot] in #892
  • Bump the all-deps group with 7 updates by @dependabot[bot] in #893
  • Bump Tessera to 010a91a4cae874ef2dfa0b50c1733a1204aba1e0 by @phbnf in #885
  • Bump Tessera to d7b88fdfe3c0b2acf7769b39e67e85116e42e635 by @phbnf in #895
  • Bump the all-deps group with 6 updates by @dependabot[bot] in #899
  • Bump the all-deps group with 13 updates by @dependabot[bot] in #900
  • Bump golang in /internal/hammer in the all-deps group across 1 directory by @dependabot[bot] in #898

Notable Tessera changes impacting TesseraCT

Panic fixes

Bug fixes

Optimize

  • publishCheckpoint returns the next publication time instead of the previous + nanoseconds for AWS by @phbnf in #966
  • Export assign/integrate latency by @AlCutter in #951
  • Add a context timeout to assignEntries by @AlCutter in #950
  • Only attempt to witness if configured to do so by @phbnf in #947
  • Improve checkpoint publication scheduling by @phbnf in #940
  • Notify integration when sequencing is done by @phbnf in #941
  • Update shutdown process to ensure followers catch up to the target index by @roger2hk in #938
  • [PublicationAwaiter] Don't fail awaiting on a single error by @mhutchinson in #925
  • Improve node cache by @AlCutter in #921
  • Set default witness timeout to 1s by @AlCutter in #895
  • Mark GCP assignEntries as a periodic task for tracing by @AlCutter in #891
  • Use bounded number of workers when doing GC by @AlCutter in #884
  • Add timeouts to antispam by @AlCutter in #875
  • Add opinionated timeouts for periodic storage operations by @AlCutter in #873
  • Avoid deep recursion in witness handling by @mhutchinson in #868

Better monitoring metrics and traces

Migrate from klog to slog

GCP optimizations

POSIX performance optimizations and settings