Files
mirror_zfs/lib
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-01-26 16:12:26 -08:00
2021-11-09 17:36:42 -08:00
2021-01-26 16:12:26 -08:00
2021-11-09 17:36:42 -08:00
2021-11-30 07:46:25 -07:00
2021-11-09 17:36:42 -08:00
2021-11-30 10:32:38 -08:00
2021-01-26 16:12:26 -08:00
2021-11-30 07:46:25 -07:00