Files
mirror_zfs/lib/libzfs
Harald van Dijk 85638aa870 get_key_material: skip passphrase validation when loading keys
The restriction that an encryption key must be at least
MIN_PASSPHRASE_LEN characters long make sense when changing the
encryption key, but not when loading: as this restriction is not
enforced in the libraries, it is possible to bypass zfs change-key's
restrictions and end up with a key that becomes impossible to load with
zfs load-key, for example through pam_zfs_key.

Reviewed-by: Felix Dörre <felix@dogcraft.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Harald van Dijk <harald@gigawatt.nl>
Closes #12765
2021-11-30 11:54:06 -08:00
..
2021-11-30 07:46:25 -07:00
2020-07-10 14:26:00 -07:00
2021-07-15 12:31:00 -06:00
2021-11-30 07:46:25 -07:00
2021-11-30 07:46:25 -07:00
2021-11-30 07:46:25 -07:00
2020-11-17 09:18:52 -08:00
2019-09-02 17:53:27 -07:00