Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
It would be nice if file_key_management supported reading from a named pipe. Currently, it seeks through the file to determine its size before reading it; that's impossible with a named pipe.
Perhaps the plugin could instead read the file in chunks and exit if it has read more than MAX_KEY_FILE_SIZE?
Attachments
Issue Links
- relates to
-
MDEV-35875 Misleading error message for non-existing ENCRYPTION_KEY_ID
-
- Open
-
Patch looks good. Needs a file_size < 0 test for read errors which means file_size should be ssize_t.
Unrelated note: Apologises for quoting the wrong this MDEV for travis IPv6 things which are obviously unrelated.