From 50907c5fff3cd2afa03798ca336997b53553732b Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Tue, 31 Dec 2019 22:03:53 +0100 Subject: [PATCH] Update Bitlocker minimum password length 4 --- src/modules/module_22100.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/module_22100.c b/src/modules/module_22100.c index 03c9111f2..74bc92276 100644 --- a/src/modules/module_22100.c +++ b/src/modules/module_22100.c @@ -81,7 +81,10 @@ u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c u32 module_pw_min (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { - const u32 pw_min = 8; + // https://docs.microsoft.com/en-us/windows/security/information-protection/bitlocker/bitlocker-group-policy-settings + // The startup PIN must have a minimum length of 4 digits, and it can have a maximum length of 20 digits. By default, the minimum PIN length is 6. + + const u32 pw_min = 4; return pw_min; }