transparency-dev / trillian-tessera

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

GCP: Don't scan buckets #154

Closed AlCutter closed 3 weeks ago

AlCutter commented 3 weeks ago

This PR stops the GCP storage implementation from scanning all the buckets at startup.

It did this to try to provide an early/helpful error message, but doing this requires extra IAM permissions which are completely unnecessary for running the log, and so should not be granted.

In reality the log instance will detect the missing bucket and start erroring out as soon as writes are attempted anyway.