Commit Graph

1 Commits

Author SHA1 Message Date
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