Commit Graph
6 Commits
Author SHA1 Message Date
Kyle IsomandGitHub 510b7ba9f6 Implementation of a file-backed persistence store. (#160)
This is a rather large change. It consists of the following changes:

+ Direct access to the keycache has been removed from the core
  package. This forces all interaction with the cache to go
  through the Cryptor, which is required for persistence. The
  Cryptor needs to know when the cache has changed, and the only
  way to do this effectively is to make the Cryptor responsible
  for managing the keycache.

+ A new persist package has been added. This provides a Store
  interface, for which two implementations are provided. The
  first is a null persister: this is used when no persistence
  is configured. The second is a file-backed persistence store.

+ The Cryptor now persists the cache every time it changes.

Additionally, a number of missing returns in a function in the core
package have been added.
2016-08-04 17:12:08 -07:00
Kyle Isom 8735061583 Don't merge configurations.
In practice, this introduced more problems than it solved.
2016-07-15 15:38:42 -07:00
Kyle IsomandGitHub 79eda1eea1 Switch to string fields for key and certificate paths. (#154)
This simplifies our deployment process, allowing us to use existing
configuration management tools designed for templating command-line
parameters to template the config files in a straightforward manner.
2016-07-14 09:42:32 -07:00
Kyle Isom cb16b159f3 Add a status endpoint to the server.
This pull request adds a status endpoint to the Red October server; as
of this pull request, the status endpoint only returns the current
delegation persistence state. The HTTP UI has not been updated, as
this is scoped out for a future request; however, the CLI utility now
features a status command to fetch this information.
2016-07-13 10:20:06 -07:00
Kyle IsomandGitHub 941cdb4e96 Initial persistent delegation fields in config file. (#152) 2016-07-08 14:16:09 -07:00
Kyle IsomandGitHub a082c88a3c Add support for config files. (#151) 2016-06-29 10:22:53 -07:00