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

Lazy load key material #1161

Merged
merged 2 commits into from Jan 14, 2019
Merged

Lazy load key material #1161

merged 2 commits into from Jan 14, 2019

Conversation

gdbelvin
Copy link
Contributor

This PR swaps out uses of tink.KeysetHandle which references loaded key material for tink.Signer which is an interface that permits remote key material and lazy loaded keys. As a result, the servers can start without blocking on key material loading.

`tink.Signer` is an interface that can represent access to a remote key
or a lazily instantiated key while a `*tink.KeysetHandle` references
loaded key material.

Switching to `tink.Signer` allows the server to start without blocking
on key material being available.
@gdbelvin gdbelvin merged commit c2f96e7 into google:master Jan 14, 2019
@gdbelvin gdbelvin deleted the nonblock_key branch January 14, 2019 20:55
gdbelvin added a commit to gdbelvin/keytransparency that referenced this pull request Jan 14, 2019
* master:
  Update API Documentation (google#1160)
  Lazy load key material (google#1161)
  Fix linter backlog (google#1151)
  Allow batch size to be configurable (google#1147)
gdbelvin added a commit to gdbelvin/keytransparency that referenced this pull request Jan 23, 2019
* master: (31 commits)
  Fix CI (google#1164)
  Trim trillian.Tree (google#1165)
  Use golangci-lint (google#1166)
  Nits (google#1163)
  Revert "Trim Directory info (google#1157)" (google#1162)
  Trim Directory info (google#1157)
  Remove Ambiguous types.User.DirectoryId (google#1154)
  Update API Documentation (google#1160)
  Lazy load key material (google#1161)
  Fix linter backlog (google#1151)
  Allow batch size to be configurable (google#1147)
  Frontend implementation (google#1153)
  Nonblocking PublishRevisions (google#1149)
  Follow google/trillian#1385 (google#1150)
  Submit SequencedLeaves with Batch API  (google#1148)
  Change (low,high] to [low,high) intervals in HighWatarmarks (google#1144)
  Write to Trillian Map At Revision (google#1146)
  Better sequencer logging  (google#1145)
  Enforce one trillian Map caller at a time with sequencer election (google#1009)
  Client: BatchCreateMutation (google#1142)
  ...
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.

None yet

2 participants