System keys not thread safe

Description

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.

Laurynas Biveinis April 9, 2019 at 7:23 AM

Upstream?

Done

Details

Assignee

Reporter

Time tracking

1d 26m logged

Fix versions

Affects versions

Priority

Smart Checklist

Created April 8, 2019 at 2:42 PM
Updated March 6, 2024 at 12:13 PM
Resolved April 12, 2019 at 7:59 AM