mirror of
https://github.com/docker/docs.git
synced 2026-03-31 08:18:55 +07:00
* 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>