file_key_management should support reading from a named pipe

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?

Environment

None

Status

Assignee

Unassigned

Reporter

Kolbe Kegel

Labels

External issue ID

None

External issue ID

None

Time tracking

8h

Fix versions

Priority

Major