Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Client to fetch STHs from CT log #196

Merged
merged 8 commits into from
Jun 10, 2016
Merged

Client to fetch STHs from CT log #196

merged 8 commits into from
Jun 10, 2016

Conversation

gdbelvin
Copy link
Contributor

@gdbelvin gdbelvin commented Jun 1, 2016

Move append-only log verification responsibilities to the client, rather than proxying them on the server.
This PR implements fetching the latest Signed Tree Head from the CT log for SignedEpochHeads.
Continues #171

@gdbelvin gdbelvin changed the title asdf Client to fetch STHs from CT log Jun 1, 2016
gdbelvin added 2 commits June 1, 2016 16:45
Move append only log proof fetching and verification to the client.
This commit implements fetching the SignedTreeHead from CT.
Future commits will implement verification. Continues work on #171
@gdbelvin gdbelvin added this to the Version 1 milestone Jun 1, 2016
// Latest returns the index of the current epoch.
Latest(ctx context.Context) int64
// Adds an object to the append-only data structure.
Append(ctx context.Context, epoch int64, data []byte) error
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI we've added some alias types for []byte for our important usages like hashes. It's a bit soon to know how useful that is yet though.

@Martin2112
Copy link
Contributor

I've done an initial pass over it.

@gdbelvin gdbelvin mentioned this pull request Jun 10, 2016
* master:
  Send SEHs to CT log (#194)
@gdbelvin gdbelvin merged commit ed9cb15 into google:master Jun 10, 2016
@gdbelvin gdbelvin deleted the ct branch June 10, 2016 19:30
@gdbelvin gdbelvin restored the ct branch June 10, 2016 19:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants