Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #85 from gdbelvin/multi_key
Browse files Browse the repository at this point in the history
Use a map to store multiple signatures. closes #41
  • Loading branch information
gdbelvin committed Aug 21, 2015
2 parents f40aa7e + e37c1d3 commit 9e3a451
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions proto/v2/e2ekeys.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@ service E2EKeyService {

// SignedEpochHead represents a signed state of the Merkel tree.
message SignedEpochHead {
// Signature of this epoch's hash, using the signature type of the key.
bytes head_sig = 1;
// Signature of head, using the signature type of the key.
// keyed by the first 8 bytes of the hash of the key.
map<uint64, bytes> head_sigs = 1;
// Serialized TimestampedEpochHead.
bytes head = 2;
// key_hash is the first 4 bytes of the SHA256 hash of the key used for
// signing. May be used for key rotation and/or multiple signatures.
uint64 key_hash = 3;
}

message TimestampedEpochHead {
Expand Down

0 comments on commit 9e3a451

Please sign in to comment.