From 2a182768841b153bd8e1c0bbbe3374a1ffc28906 Mon Sep 17 00:00:00 2001 From: Draco-Lunaris-Echo Date: Tue, 9 Jun 2026 08:10:00 -0500 Subject: [PATCH] fix(postinst): correct argon2 -m parameter from raw KiB to log2 value (#55) * chore: bump version to 1.1.5 * fix(postinst): correct argon2 -m parameter from raw KiB to log2 value * trigger CI --- Cargo.toml | 2 +- debian/changelog | 6 ++++++ debian/control | 2 +- debian/postinst | 2 +- frontend/package.json | 2 +- scripts/build-package.sh | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) mode change 100755 => 100644 debian/postinst diff --git a/Cargo.toml b/Cargo.toml index bf6b8a1..ad37353 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "1.1.4" +version = "1.1.5" edition = "2021" authors = ["Echo "] license = "MIT" diff --git a/debian/changelog b/debian/changelog index 120ba19..b856198 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +linux-patch-manager (1.1.5-1) unstable; urgency=low + + * Release v1.1.5 + + -- git-echo Mon, 08 Jun 2026 20:15:50 -0500 + linux-patch-manager (1.1.4-1) unstable; urgency=low * Release v1.1.4 diff --git a/debian/control b/debian/control index bdb652e..8fa89da 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,5 @@ Package: linux-patch-manager -Version: 1.1.4-1 +Version: 1.1.5-1 Architecture: amd64 Maintainer: Moon Dragon Installed-Size: 45000 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 diff --git a/frontend/package.json b/frontend/package.json index 48d2f7c..ea01741 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "patch-manager-ui", "private": true, - "version": "1.1.4", + "version": "1.1.5", "type": "module", "scripts": { "dev": "vite", diff --git a/scripts/build-package.sh b/scripts/build-package.sh index 6ed6d6c..ab51e02 100755 --- a/scripts/build-package.sh +++ b/scripts/build-package.sh @@ -22,7 +22,7 @@ warn() { echo -e "${YELLOW}[WARN]${NC} $*"; } error() { echo -e "${RED}[ERROR]${NC} $*" >&2; exit 1; } PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -VERSION="1.1.4" +VERSION="1.1.5" RELEASE="1" PKG_NAME="linux-patch-manager" DEB_NAME="${PKG_NAME}_${VERSION}-${RELEASE}_amd64.deb"