Skip to content

Conversation

@AlCutter
Copy link
Collaborator

@AlCutter AlCutter commented May 9, 2025

This PR provides what's intended to be a temporary mechanism to enable logs to interact with the witness network in a fail open fashion, whereby they will publish checkpoints & whatever valid witness signatures were obtained for it, regardless of whether the obtained signatures satisfy the specified witness policy.

With this option enabled logs and their clients can start to interact with the witness network in a safe "fail open" fashion as it develops and matures.

AlCutter added 2 commits May 9, 2025 17:35
This field is now only used within the package, and not by storage
implementations, so no need for a getter anymore.
@AlCutter AlCutter added this to the beta milestone May 9, 2025
@AlCutter AlCutter requested a review from mhutchinson May 9, 2025 16:51
@AlCutter AlCutter added the enhancement New feature or request label May 9, 2025
@AlCutter AlCutter requested a review from a team as a code owner May 9, 2025 16:51
cp, err = wg.Witness(ctx, cp)
if err != nil {
return nil, err
if !o.witnessOpts.FailOpen {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have metrics so that operators can safely determine when they are able to switch modes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, done

@AlCutter AlCutter force-pushed the witness_fail_open branch 5 times, most recently from d214fa6 to 788cab2 Compare May 12, 2025 10:35
@AlCutter AlCutter force-pushed the witness_fail_open branch from 788cab2 to db837d2 Compare May 12, 2025 10:38
@AlCutter AlCutter merged commit 7d603eb into transparency-dev:main May 12, 2025
15 checks passed
@AlCutter AlCutter deleted the witness_fail_open branch May 12, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants