Niels de Vos d9d3858db1 util: fscrypt requires keys of 32 bytes
It seems that fscrypt expects a key with exactly 32 bytes. In order to
use a random length key from a KMS, either repeat the key until the
length is reached, or trim the key when needed.

See: https://github.com/google/fscrypt/tree/v0.3.4#using-a-raw-key-protector
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-01-29 10:31:39 +01:00
..
2024-09-04 10:13:47 +00:00
2024-09-20 08:55:17 +00:00