| 1 | --- |
| 2 | fixes: |
| 3 | - | |
| 4 | [`bug 1728907 <https://bugs.launchpad.net/keystone/+bug/1728907>`_] |
| 5 | In some rare cases, an empty key file can get created within the fernet |
| 6 | key repository. When keystone tries to load the keys from disk, it will |
| 7 | fail with an invalid fernet key ValueError. Keystone now handles empty |
| 8 | key files when loading and rotating keys. If an empty file exists, it |
| 9 | will be ignored when loaded, reported as a warning in the log, and |
| 10 | overwritten with a valid key upon rotation. |