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-07-30 14:51:49 +00:00
2023-06-05 04:49:46 +00:00
2024-11-06 09:48:45 +00:00
2023-06-05 04:49:46 +00:00
2024-04-09 06:55:23 +00:00
2024-09-20 08:55:17 +00:00
2024-04-09 06:55:23 +00:00