From b293d6631b1f6175f4affee5113bac6af19d9f45 Mon Sep 17 00:00:00 2001 From: Draco-Lunaris-Echo Date: Mon, 8 Jun 2026 22:06:23 -0500 Subject: [PATCH] fix(postinst): correct argon2 -m parameter from raw KiB to log2 value --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 debian/postinst diff --git a/debian/postinst b/debian/postinst old mode 100755 new mode 100644 index c17377d..c8a1e5f --- a/debian/postinst +++ b/debian/postinst @@ -208,7 +208,7 @@ generate_admin_password() { # Hash with argon2 (PHC format, compatible with the application) local password_hash - password_hash=$(echo -n "${admin_password}" | argon2 salt -id -t 3 -m 65536 -p 1 -l 32 -e) + password_hash=$(echo -n "${admin_password}" | argon2 salt -id -t 3 -m 16 -p 1 -l 32 -e) # Update admin user password in database # Only update if the placeholder hash is still present