aboutsummaryrefslogtreecommitdiffstats
path: root/tests/old-accountd
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2026-07-20 19:55:25 +0200
committerGuilhem Moulin <guilhem@debian.org>2026-07-20 19:55:25 +0200
commitb0c8717c1be1a2bddbcd2f083dd96e4459cf26d3 (patch)
tree32505988609d5b9b1d535a2e105f82c56c095981 /tests/old-accountd
parent61c7869ddd55369b1a652b5fafb8f27215c6c9dd (diff)
parentcc2ff5e80a465b0325e317aeedb3437165fa2e1b (diff)
Merge tag 'v0.8.4' into debian/latest
Release version 0.8.4
Diffstat (limited to 'tests/old-accountd')
-rw-r--r--tests/old-accountd3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/old-accountd b/tests/old-accountd
index 3ad4b31..daa1996 100644
--- a/tests/old-accountd
+++ b/tests/old-accountd
@@ -19,6 +19,9 @@ DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
-oDPkg::Options::="--force-confdef" -oDPkg::Options::="--force-overwrite" \
lacme-accountd/stretch
+# somewhat cheating, but needed for an older accountd using a newer Crypt::OpenSSL::RSA
+sed -ri 's/^\s*\$rsa->use_sha256_hash\(\);$/& $rsa->use_pkcs1_padding();/' /usr/bin/lacme-accountd
+
SOCKET=~lacme-account/S.lacme
runuser -u lacme-account -- lacme-accountd --socket="$SOCKET" & PID=$!
sleep 1