aboutsummaryrefslogtreecommitdiffstats
path: root/tests/account-encrypted-openssl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-13 03:33:20 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-13 15:41:12 +0200
commitbf4d2d13ffcd894c6e7765dbd366f1163c69c9e1 (patch)
treed234196cc004dec3482716d2b3a6b5425d8386ed /tests/account-encrypted-openssl
parent568656b1fcb60d451b4a5313876ef0b96ae8bbfd (diff)
Pass `-in /dev/stdin` option to openssl(1) to avoid warning with recent versions.
OpenSSL 3.2 from Debian sid spews Warning: Reading certificate from stdin since no -in or -new option is given without an explicit `-in /dev/stdin`.
Diffstat (limited to 'tests/account-encrypted-openssl')
-rw-r--r--tests/account-encrypted-openssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/account-encrypted-openssl b/tests/account-encrypted-openssl
index a3ad707..1f97fd0 100644
--- a/tests/account-encrypted-openssl
+++ b/tests/account-encrypted-openssl
@@ -2,7 +2,7 @@
PASSPHRASE="test"
-openssl rsa -aes128 -passout pass:"$PASSPHRASE" </etc/lacme/account.key >/etc/lacme/account.enc.key
+openssl rsa -in /etc/lacme/account.key -out /etc/lacme/account.enc.key -aes128 -passout pass:"$PASSPHRASE"
sed -ri '0,\|^#?privkey\s*=.*| {s||privkey = file:/etc/lacme/account.enc.key|}' /etc/lacme/lacme-accountd.conf
export TERM="linux"