[pdm-devel] [PATCH datacenter-manager] api types: require a minimum password length of 8 characters

Shannon Sterz s.sterz at proxmox.com
Wed Nov 26 18:23:10 CET 2025


we already adopted a minimum password length requirement of 8
characters in almost all other products, so enforce it here to. this
means we comply with the latest NIST recommendation [1].

[1]: https://pages.nist.gov/800-63-4/sp800-63b.html#passwordver

Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
---
 lib/pdm-api-types/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pdm-api-types/src/lib.rs b/lib/pdm-api-types/src/lib.rs
index 439efc8..666f89e 100644
--- a/lib/pdm-api-types/src/lib.rs
+++ b/lib/pdm-api-types/src/lib.rs
@@ -148,7 +148,7 @@ pub const OPENSSL_CIPHERS_TLS_1_3_SCHEMA: Schema =
 
 pub const PDM_PASSWORD_SCHEMA: Schema = StringSchema::new("User Password.")
     .format(&PASSWORD_FORMAT)
-    .min_length(5)
+    .min_length(8)
     .max_length(64)
     .schema();
 
-- 
2.47.3





More information about the pdm-devel mailing list