docs/trustmanager
Aaron Lehmann 1aced67471 Improvements to keystore caching
* RemoveKey must purge the cache entry

* Add mutexes to KeyFileStore and KeyMemoryStore so the cachedKeys map
  is protected in the case that keystore operations happen from multiple
  goroutines

* Change GetKey to return the alias along with the key. Remove
  GetKeyAlias. This simplifies the code flows that retrieve the alias
  (since they usually get the key and alias together).

* Fix tests affected by key caching

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-20 13:36:03 -07:00
..
filestore.go review feedback 2015-07-20 11:00:24 -07:00
filestore_test.go Make FileStore only allow operations on files inside the store 2015-07-15 17:14:56 -07:00
keyfilestore.go Improvements to keystore caching 2015-07-20 13:36:03 -07:00
keyfilestore_test.go Improvements to keystore caching 2015-07-20 13:36:03 -07:00
x509filestore.go Update keyfilestore to use passwordRetriever 2015-07-20 10:58:16 -07:00
x509filestore_test.go Cosmetic code changes 2015-07-17 14:33:06 -07:00
x509memstore.go Cosmetic code changes 2015-07-17 14:33:06 -07:00
x509memstore_test.go Cosmetic code changes 2015-07-17 14:33:06 -07:00
x509store.go Cosmetic code changes 2015-07-17 14:33:06 -07:00
x509store_test.go Fixed config files and trust manager tests to point at new fixtures 2015-07-15 19:46:57 -07:00
x509utils.go Update keyfilestore to use passwordRetriever 2015-07-20 10:58:16 -07:00
x509utils_test.go Addressing comments 2015-07-19 01:45:43 -07:00