This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Fix/703 Initialize log with empty SignedMapRoot#762
Merged
gdbelvin merged 5 commits intogoogle:masterfrom Aug 18, 2017
Merged
Conversation
Previously, the signer used a verifying trillian log client in the signer. This: - Required a separate build step to acquire the verifying key - Was tied to a confusing and only partially implemented multi-tennant configuration system. This commit simplifies the situation to make a pure grpc call to the trillian log backend, simplifying debugging, and makes things consistent consistent with the way we are querying the trillian map server, and is also consistent with the way the Certificate Transparency frontends treat their own trillian backends.
The appender interface is a defunct wrapper for the trillian log. The admin interface is a defunct api for multi-tennant configuration.
This brings the relationship between MapRevisions and Log indexes back into parity. Previously log index = map revision -1 Now, log index = map revision Fixes google#703
Contributor
|
How does this relate to #761? |
Codecov Report
@@ Coverage Diff @@
## master #762 +/- ##
=========================================
- Coverage 49.18% 48.48% -0.7%
=========================================
Files 30 28 -2
Lines 2507 2475 -32
=========================================
- Hits 1233 1200 -33
- Misses 1077 1090 +13
+ Partials 197 185 -12
Continue to review full report at Codecov.
|
Contributor
Author
|
I made a bit of a confusing swap with the PRs. This is actually the one that you just LGTM'ed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This brings the relationship between MapRevisions and Log indexes back into parity.
Previously log index = map revision -1
Now, log index = map revision
Fixes #703
Rebased on #760. Merge that first.