pub fn parse_master_key(raw: &[u8]) -> Result<MasterKey, String>Expand description
Parse a master key supplied as a file’s bytes (L11 Docker entrypoint, I9).
Accepts either exactly kovra_core::KEY_LEN raw bytes, or a hex string of
2 * KEY_LEN characters (with optional surrounding whitespace/newline — the
common shape of a Docker secret file). Never logs the bytes. The key arrives
from a Docker secret in tmpfs at runtime, never from an image layer (I9).