When system key is requested from keyring it is lazy initialized. For fetching keys keyring framework acquires only read lock on keys cache. Lazy initialization thus should be removed as multiple threads can request initialization of a key concurrently or replaced with lock-free thread safe initialization.
Environment
None
Smart Checklist
Activity
Show:
Robert Golebiowski April 9, 2019 at 7:27 AM
no, this is ours implementation of system key rotation framework.
When system key is requested from keyring it is lazy initialized. For fetching keys keyring framework acquires only read lock on keys cache. Lazy initialization thus should be removed as multiple threads can request initialization of a key concurrently or replaced with lock-free thread safe initialization.